فهرست منبع

"hourly" => "treatment services"

Vijayakrishnan Krishnan 4 سال پیش
والد
کامیت
6a762aa462

+ 2 - 2
resources/views/app/patient/note/_create-bill.blade.php

@@ -25,7 +25,7 @@
         </div>
 
         @if($noteRates && count($noteRates) && count($noteRates) === 1)
-            @if(strpos(strtolower($noteRates[0]->code), "hourly") !== FALSE)
+            @if(strpos(strtolower($noteRates[0]->code), "treatment services") !== FALSE)
                 <div class="mb-2">
                     <select name="numberOfUnits" class="form-control form-control-sm"
                             onchange="calculateBillAmount(this)">
@@ -77,7 +77,7 @@
             let clone = null;
             selectedCodeHourlyRate = +selected.attr('data-amount');
             $('[calculated-amount]').text('');
-            if(selected.text().toLowerCase().indexOf('hourly') !== -1) {
+            if(selected.text().toLowerCase().indexOf('treatment services') !== -1) {
                 clone = $('[hourly-template]').clone()
                     .removeAttr('hourly-template')
                     .removeClass('d-none');

+ 1 - 1
resources/views/app/patient/note/dashboard.blade.php

@@ -273,7 +273,7 @@
                                         <div class="text-secondary small">{{ $bill->reason2 }}</div>
                                     </td>--}}
                                     <td class="pl-3">
-                                        @if(strpos(strtolower($bill->code), 'hourly') !== FALSE)
+                                        @if(strpos(strtolower($bill->code), 'treatment services') !== FALSE)
                                             {{ time_in_hrminsec($bill->number_of_units * 3600) }}
                                         @else
                                             @if(!!$bill->number_of_units)