Jelajahi Sumber

Auto-redirect to new note after creation

Vijayakrishnan 4 tahun lalu
induk
melakukan
d9e0cb0cdb
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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') }}">