Browse Source

fixed pro is hcp

= 3 năm trước cách đây
mục cha
commit
63f486b8b6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Models/Pro.php

+ 1 - 1
app/Models/Pro.php

@@ -70,7 +70,7 @@ class Pro extends Model
 
     public function isDefaultNA()
     {
-       return $this->is_considered_for_dna;
+       return $this->is_considered_for_dna && !$this->is_hcp;
     }
 
     public function lastPayment() {