Samson Mutunga 3 anos atrás
pai
commit
e112ecd5dd

+ 5 - 0
resources/views/app/patient/coverage_column_renderer.blade.php

@@ -40,4 +40,9 @@
     @if(@$patient->mpb_remaining)
         <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)
+        <small class="text-muted d-block ml-3">Deductible: {{format_number(@$coverage->deductable_amount)}} </small>
+    @endif
 @endif

+ 5 - 0
resources/views/layouts/patient-header.blade.php

@@ -359,6 +359,11 @@ $addressParts .= implode(", ", $addressPart2);
                   <div class="ml-2">Deductible: {{format_number(@$patient->mpb_remaining)}} </div>
                 @endif
               @endif
+              @if($_cpc->plan_type === 'COMMERCIAL')
+                @if(@$_cpc->deductable_amount)
+                  <div class="ml-2">Deductible: {{format_number(@$_cpc->deductable_amount)}} </div>
+                @endif
+              @endif
             @endif 
           @endif
         </div>