Эх сурвалжийг харах

Auto-redirect to new note after creation

Vijayakrishnan 4 жил өмнө
parent
commit
d9e0cb0cdb

+ 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') }}">