mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 18:54:30 -04:00
Fix payment type
This commit is contained in:
parent
ca8e8f2937
commit
acbe5912ae
@ -39,8 +39,12 @@ class PaymentPresenter extends EntityPresenter
|
||||
|
||||
public function payment_type()
|
||||
{
|
||||
if ($this->payer_id) {
|
||||
return 'PayPal';
|
||||
} else {
|
||||
return $this->entity->payment_type ? $this->entity->payment_type->name : trans('texts.manual_entry');
|
||||
}
|
||||
}
|
||||
|
||||
public function method()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user