Bladeren bron

fixed hcpProUid when creating a new erx

Josh 3 jaren geleden
bovenliggende
commit
df9d06a452

+ 1 - 1
resources/views/app/patient/care-month/_create-bill.blade.php

@@ -17,7 +17,7 @@
             </div>
 
             <div class="my-3">
-                <input type="checkbox" name="signAndMarkBillingDone" checked>&nbsp;Sign and Mark Billing Done
+                <input type="checkbox" name="signAndCloseBilling" checked>&nbsp;Sign and Mark Billing Done
             </div>
 
             <div class="">

+ 1 - 1
resources/views/app/patient/prescriptions-popup/list-popup.blade.php

@@ -634,7 +634,7 @@ GROUP BY erx_category");
                         let payload = {
                             noteUid: '{{ @$note ? $note->uid : '' }}',
                             clientUid: '{{$patient->uid}}',
-                            hcpProUid: '{{$pro->uid}}',
+                            hcpProUid: '{{$patient->mcp->uid}}',
                             erxCategory: _type
                         };
                         $.post('/api/erx/create', payload, _data => {

+ 1 - 1
resources/views/app/patient/prescriptions/list.blade.php

@@ -640,7 +640,7 @@ GROUP BY erx_category");
                         let payload = {
                             noteUid: '{{ @$note ? $note->uid : '' }}',
                             clientUid: '{{$patient->uid}}',
-                            hcpProUid: '{{$pro->uid}}',
+                            hcpProUid: '{{$patient->mcp->uid}}',
                             erxCategory: _type
                         };
                         $.post('/api/erx/create', payload, _data => {