Fix payment type

This commit is contained in:
Hillel Coren 2018-07-29 10:26:37 +03:00
parent ca8e8f2937
commit acbe5912ae

View File

@ -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()
{