瀏覽代碼

fixed setting/clearing mcp

= 4 年之前
父節點
當前提交
b8e98471e3
共有 1 個文件被更改,包括 38 次插入0 次删除
  1. 38 0
      resources/views/layouts/patient.blade.php

+ 38 - 0
resources/views/layouts/patient.blade.php

@@ -283,6 +283,25 @@
                                                             </div>
                                                             </div>
                                                         </form>
                                                         </form>
                                                     </div>
                                                     </div>
+                                                    @if($patient->mcp)
+                                                        <div moe class="ml-2">
+                                                            <a start show><i class="fa fa-times"></i></a>
+                                                            <form url="/api/client/removeMcp" class="mcp-theme-1">
+                                                                <input type="hidden" name="uid" value="{{$patient->uid}}">
+                                                                <div class="mb-2">
+                                                                    <label class="text-secondary text-sm">Remove MCP Pro</label>
+                                                                    
+                                                                </div>
+                                                                <div>
+                                                                    <button submit class="btn btn-sm btn-primary mr-1">Submit
+                                                                    </button>
+                                                                    <button cancel class="btn btn-sm btn-default border">
+                                                                        Cancel
+                                                                    </button>
+                                                                </div>
+                                                            </form>
+                                                        </div>
+                                                    @endif
                                                 @endif
                                                 @endif
                                             </div>
                                             </div>
                                         </div>
                                         </div>
@@ -378,6 +397,25 @@
                                                         </div>
                                                         </div>
                                                     </form>
                                                     </form>
                                                 </div>
                                                 </div>
+                                                @if($patient->pcp)
+                                                <div moe class="ml-2">
+                                                    <a start show><i class="fa fa-times"></i></a>
+                                                    <form url="/api/client/removePhysicianPro" class="mcp-theme-1">
+                                                        <input type="hidden" name="uid" value="{{$patient->uid}}">
+                                                        <div class="mb-2">
+                                                            <label class="text-secondary text-sm">Remove Physician Pro</label>
+                                                            
+                                                        </div>
+                                                        <div>
+                                                            <button submit class="btn btn-sm btn-primary mr-1">Submit
+                                                            </button>
+                                                            <button cancel class="btn btn-sm btn-default border">
+                                                                Cancel
+                                                            </button>
+                                                        </div>
+                                                    </form>
+                                                </div>
+                                                @endif
                                             @endif
                                             @endif
                                         </div>
                                         </div>
                                     </section>
                                     </section>