Selaa lähdekoodia

Rx wizard - NPX + typo fix

Vijayakrishnan 3 vuotta sitten
vanhempi
commit
9450aaddc5

+ 1 - 1
resources/views/app/patient/medications-center.blade.php

@@ -377,7 +377,7 @@ $medications = $points;
                     return false;
                 });
 
-            @include('app.patient.wizard-partials.common-script', ['label' => 'medication', 'point' => $medication])
+            @include('app.patient.wizard-partials.common-script', ['label' => 'medication'])
 
             // custom buttons on title bar
             $('.button-container').remove();

+ 1 - 1
resources/views/app/patient/wizard-partials/common-fields.blade.php

@@ -57,7 +57,7 @@
 
     @if(@$point)
         <div class="mb-2">
-            <span class="">Is this medication being removed due to an entry error?</span>
+            <span class="">Is this {{$label}} being removed due to an entry error?</span>
             <div class="d-flex align-items-baseline mt-1">
                 <label class="my-0 d-inline-flex align-items-center">
                     <input type="radio" name="isRemovedDueToEntryError" value="1" {{$point && $point->is_removed_due_to_entry_error === '1' ? 'checked' : ''}}>