Prechádzať zdrojové kódy

added number of units

Josh 4 rokov pred
rodič
commit
3be985c28f

+ 5 - 1
resources/views/app/practice-management/billing-manager.blade.php

@@ -54,7 +54,11 @@
                                     @foreach($note->bills as $bill)
                                     <tr>
                                         <td>{{$bill->code}}</td>
-                                        <td>{{$bill->number_of_units}}</td>
+                                        @if($bill->code == 'Treatment Services')
+                                            <td>{{floor($bill->number_of_units*60)}}</td>
+                                        @else
+                                            <td>{{$bill->number_of_units}}</td>
+                                        @endif
                                         <td>{{$bill->is_signed_by_hcp?'Yes':'No'}}</td>
                                     </tr>
                                     @endforeach