Samson Mutunga пре 3 година
родитељ
комит
97747b5f5f

+ 2 - 2
resources/views/app/patient/coverage_column_renderer.blade.php

@@ -37,12 +37,12 @@
     @endif
 </div>
 @if($coverage->plan_type === 'MEDICARE')
-    @if(@$patient->mpb_remaining)
+    @if(@$patient->mpb_remaining !== null)
         <small class="text-muted d-block ml-3">Deductible: {{format_number(@$patient->mpb_remaining)}} </small>
     @endif
 @endif
 @if($coverage->plan_type === 'COMMERCIAL')
-    @if(@$coverage->deductable_amount)
+    @if(@$coverage->deductable_amount !== null)
         <small class="text-muted d-block ml-3">Deductible: {{format_number(@$coverage->deductable_amount)}} </small>
     @endif
 @endif

+ 2 - 2
resources/views/layouts/patient-header.blade.php

@@ -355,12 +355,12 @@ $addressParts .= implode(", ", $addressPart2);
             </div>
             @if($performer->pro->pro_type == 'ADMIN')
               @if($_cpc->plan_type === 'MEDICARE')
-                @if(@$patient->mpb_remaining)
+                @if(@$patient->mpb_remaining !== null)
                   <div class="ml-2">Deductible: {{format_number(@$patient->mpb_remaining)}} </div>
                 @endif
               @endif
               @if($_cpc->plan_type === 'COMMERCIAL')
-                @if(@$_cpc->deductable_amount)
+                @if(@$_cpc->deductable_amount !== null)
                   <div class="ml-2">Deductible: {{format_number(@$_cpc->deductable_amount)}} </div>
                 @endif
               @endif