Explorar el Código

Note > bill > cancellation memo field to textarea + default

Vijayakrishnan hace 4 años
padre
commit
2824db20ea
Se han modificado 1 ficheros con 5 adiciones y 3 borrados
  1. 5 3
      resources/views/app/patient/note/dashboard.blade.php

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

@@ -1041,8 +1041,10 @@
                                                 <form url="/api/bill/updateCancellationMemo">
                                                     <input type="hidden" name="uid" value="{{$bill->uid}}">
                                                     <p>Update Cancellation Memo</p>
-                                                    <div class="mb-0">
-                                                        <input type="text" class="text form-control form-control-sm" name="cancellationMemo" value="{{$bill->cancellation_memo}}" placeholder=""><br>
+                                                    <div class="mb-2">
+                                                        <textarea class="text form-control form-control-sm" name="cancellationMemo" placeholder="">{{$bill->cancellation_memo ? $bill->cancellation_memo : 'Insufficient documentation for billable service.'}}</textarea>
+                                                    </div>
+                                                    <div>
                                                         <button class="btn btn-success btn-sm" submit>Submit</button>
                                                         <button class="btn btn-default border btn-sm" cancel>Cancel</button>
                                                     </div>
@@ -1056,7 +1058,7 @@
                                                     <p class="mb-2">Cancel this bill?</p>
                                                     <div class="mb-2">
                                                         <label class="mb-1 text-secondary">Cancellation Memo</label>
-                                                        <input type="text" name="memo" placeholder="Memo" class="form-control form-control-sm">
+                                                        <textarea type="text" name="memo" placeholder="Memo" class="form-control form-control-sm">Insufficient documentation for billable service.</textarea>
                                                     </div>
                                                     <div class="mb-0">
                                                         <button class="btn btn-danger btn-sm" submit>Yes</button>