Browse Source

added undo sign as hcp

= 3 years ago
parent
commit
f097d7ab8c
1 changed files with 16 additions and 1 deletions
  1. 16 1
      resources/views/app/patient/note/dashboard.blade.php

+ 16 - 1
resources/views/app/patient/note/dashboard.blade.php

@@ -557,7 +557,22 @@
                                     <i class="fa fa-check"></i>
                                     Note Signed
                                 </div>
-                                @if($pro->pro_type === 'ADMIN' || ($note->hcpPro && $pro->id === $note->hcpPro->id))
+                                @if($pro->pro_type === 'ADMIN')
+                                    <div class="ml-3">
+                                        <div moe>
+                                            <a class="" href="" show start>Undo Sign As Hcp</a>
+                                            <form url="/api/note/adminUndoSignAsHcp" right>
+                                                <input type="hidden" name="uid" value="{{$note->uid}}">
+                                                <p>Undo HCP signature?</p>
+                                                <div class="mb-0">
+                                                    <button class="btn btn-success btn-sm" submit>Sign</button>
+                                                    <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+                                                </div>
+                                            </form>
+                                        </div>
+                                    </div>
+                                @endif
+                                @if($pro->pro_type === 'ADMIN' || ($note->hcpPro && $pro->id === $note->hcpPro->id)) 
                                     <div class="ml-3 screen-only">
                                         @include('app/patient/note/_create-bill-only')
                                     </div>