소스 검색

All wizards - common fields - support for $planLabel

Vijayakrishnan 3 년 전
부모
커밋
dba1ac74ea
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      resources/views/app/patient/wizard-partials/common-fields.blade.php

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

@@ -200,14 +200,14 @@
                     }
                 }
                 ?>
-                <label class="text-sm mb-1 font-weight-bold">Plan</label>
+                <label class="text-sm mb-1 font-weight-bold">{{@$planLabel ? $planLabel : 'Plan'}}</label>
                 <div note-rte
                      class="form-group mb-2 border-left border-right rte-holder bg-white"
                      data-field-name="planValue"><?= $currentValue ?></div>
                 <?php if($previousValue): ?>
                 <div class="mb-2">
                     <div class="d-flex align-items-baseline mb-1">
-                        <span class="text-sm text-secondary">Previous Plan / <?= friendlier_date($previousChildPlan->created_at) ?> (click to copy)</span>
+                        <span class="text-sm text-secondary">Previous {{@$planLabel ? $planLabel : 'Plan'}} / <?= friendlier_date($previousChildPlan->created_at) ?> (click to copy)</span>
                     </div>
                     <div class="p-2 bg-light border inline-html-container click-to-copy"><?= $previousValue ?></div>
                 </div>