1
0
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:
Hillel Coren 2017-01-29 22:16:04 +02:00
parent 602c8e81e5
commit a23107830e

View File

@ -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);
}
}
}