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