Prechádzať zdrojové kódy

Caremonth single - allow pro to cancel rm bill

Vijayakrishnan 3 rokov pred
rodič
commit
ff760df0d1

+ 12 - 1
resources/views/app/patient/care-month/dashboard.blade.php

@@ -362,7 +362,18 @@
                                                     </div>
                                                 </form>
                                             </div>
-                                        @endif 
+                                        @endif
+                                        <div moe relative class="d-inline-block text-sm ml-2">
+                                            <a class="font-weight-normal text-danger" href="" show start>Cancel</a>
+                                            <form url="/api/bill/markCancelled" right>
+                                                <input type="hidden" name="uid" value="{{$careMonth->mcpRmGenericBill->uid}}">
+                                                <p class="text-dark font-weight-normal">Cancel this bill?</p>
+                                                <div class="mb-0">
+                                                    <button class="btn btn-primary btn-sm" submit>Cancel</button>
+                                                    <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+                                                </div>
+                                            </form>
+                                        </div>
                                     </div>
                                 @endif
                                     </div>