Sfoglia il codice sorgente

processing-bill-matrix UI updates

Vijayakrishnan 3 anni fa
parent
commit
08f6eeebd1

+ 5 - 5
resources/views/app/practice-management/processing-bill-matrix.blade.php

@@ -66,7 +66,7 @@
                         @elseif(request()->input('t') === 'na')
                             <td>NA Expected Amount</td>
                         @endif
-                        <td>HCP Signed?</td>
+                        <td>Pro Signed?</td>
                     </tr>
                     </thead>
                     <tbody>
@@ -95,17 +95,17 @@
                             @endif
                             <td>{{$row->client->name_last}}, {{$row->client->name_first}}</td>
                             <td>{{$row->code}}</td>
-                            <td>{{$row->number_of_units}}</td>
+                            <td>{{str_contains($row->code, 'Treatment Services') || str_contains($row->code, 'Administrative Services') ? ceil((float) $row->number_of_units * 60) . ' mins' : $row->number_of_units}}</td>
                             <td>{{$row->is_verified ? 'Verified: ' . friendly_date($row->marked_verified_at, true) : 'Not Verified'}} </td>
                             @if(!request()->input('t') || request()->input('t') === 'hcp')
                                 <td>{{$row->hcp_expected_payment_amount}}</td>
                             @elseif(request()->input('t') === 'na')
-                                <td>{{$row->generic_pro_expected_payment_amount}}</td>
+                                <td><b>${{number_format($row->generic_pro_expected_payment_amount, 2)}}</b></td>
                             @endif
                             @if(!request()->input('t') || request()->input('t') === 'hcp')
-                                <td>{{$row->is_signed_by_hcp}}</td>
+                                <td>{{$row->is_signed_by_hcp ? 'Yes' : 'No'}}</td>
                             @elseif(request()->input('t') === 'na')
-                                <td>{{$row->is_signed_by_generic_pro}}</td>
+                                <td>{{$row->is_signed_by_generic_pro ? 'Yes' : 'No'}}</td>
                             @endif
                         </tr>
                     @endforeach