Samson Mutunga 1 год назад
Родитель
Сommit
ac49f03425
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/Models/PaymentMethod.php

+ 1 - 0
app/Models/PaymentMethod.php

@@ -16,6 +16,7 @@ class PaymentMethod extends BaseModel
     }
 
     public function displayName(){
+        if($this->paypal_order_id) return 'PayPal';
         if($this->card_type){
             return "<small>{$this->card_type} ****-****-{$this->card_last_four}</small><small class='text-muted d-block'>Expires: {$this->expiration_month} / {$this->expiration_year}</small>";
         }