mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix for translation #1185
This commit is contained in:
parent
602c8e81e5
commit
a23107830e
@ -30,7 +30,7 @@ class PaymentPresenter extends EntityPresenter {
|
||||
if ($this->entity->account_gateway) {
|
||||
return $this->entity->account_gateway->gateway->name;
|
||||
} elseif ($this->entity->payment_type) {
|
||||
return $this->entity->payment_type->name;
|
||||
return trans('texts.payment_type_' . $this->entity->payment_type->name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user