Samson Mutunga hai 1 ano
pai
achega
ac49f03425
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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>";
         }