浏览代码

Auto-redirect to new note after creation

Vijayakrishnan 4 年之前
父节点
当前提交
d9e0cb0cdb
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      resources/views/app/patient/notes.blade.php

+ 2 - 1
resources/views/app/patient/notes.blade.php

@@ -8,7 +8,8 @@
             <span class="mx-2 text-secondary">|</span>
             <div moe>
                 <a start show class="py-0 mb-3">Add</a>
-                <form url="/api/note/createUsingFreeTextHtml" class="mcp-theme-1">
+                <form url="/api/note/createUsingFreeTextHtml" class="mcp-theme-1"
+                      redir="patients/view/{{ $patient->uid }}/notes/view/[data]">
                     <input type="hidden" name="clientUid" value="{{$patient->uid}}">
                     <input type="hidden" name="hcpProUid" value="{{$pro->uid}}">
                     <input type="hidden" name="effectiveDateEST" value="{{ date('Y-m-d') }}">