Parcourir la source

Note > bill: Cancellation logic updates

Vijayakrishnan il y a 4 ans
Parent
commit
cb0349aeea
1 fichiers modifiés avec 17 ajouts et 15 suppressions
  1. 17 15
      resources/views/app/patient/note/dashboard.blade.php

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

@@ -688,21 +688,6 @@
                                                             </div>
                                                         </form>
                                                     </span>
-                                                    <span class="mx-2 text-secondary">|</span>
-
-                                                    <span class="d-block" moe>
-                                                        <a class="text-danger" href="" show start>Update Cancellation Memo</a>
-                                                        <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="updateCancellationMemo" value="{{$bill->cancellation_memo}}" placeholder=""><br>
-                                                                <button class="btn btn-success btn-sm" submit>Submit</button>
-                                                                <button class="btn btn-default border btn-sm" cancel>Cancel</button>
-                                                            </div>
-                                                        </form>
-                                                    </span>
-
                                                 @endif
                                             @endif
                                             @if($bill->is_cancelled)
@@ -710,6 +695,19 @@
                                                 <span class="d-block text-secondary">
                                                     Cancelled
                                                 </span>
+                                                <span class="mx-2 text-secondary">|</span>
+                                                <span class="d-block" moe>
+                                                    <a class="text-danger" href="" show start>Update Cancellation Memo</a>
+                                                    <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="updateCancellationMemo" value="{{$bill->cancellation_memo}}" placeholder=""><br>
+                                                            <button class="btn btn-success btn-sm" submit>Submit</button>
+                                                            <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+                                                        </div>
+                                                    </form>
+                                                </span>
                                             @else
                                                 <span class="mx-2 text-secondary">|</span>
                                                 <span class="d-block" moe>
@@ -717,6 +715,10 @@
                                                     <form url="/api/bill/markCancelled">
                                                         <input type="hidden" name="uid" value="{{$bill->uid}}">
                                                         <p>Cancel this bill?</p>
+                                                        <div class="mb-2">
+                                                            <label class="mb-1 text-secondary">Cancellation Memo</label>
+                                                            <input type="text" name="memo" placeholder="Memo">
+                                                        </div>
                                                         <div class="mb-0">
                                                             <button class="btn btn-danger btn-sm" submit>Yes</button>
                                                             <button class="btn btn-default border btn-sm" cancel>No</button>