Explorar o código

After add, auto-redirect to the created caremonth

Vijayakrishnan Krishnan %!s(int64=4) %!d(string=hai) anos
pai
achega
39abc3f09b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/views/app/patient/care-months.blade.php

+ 1 - 1
resources/views/app/patient/care-months.blade.php

@@ -66,7 +66,7 @@
             <span class="mx-2 text-secondary">|</span>
             <div moe>
                 <a start show class="py-0 mb-3">Add</a>
-                <form url="/api/careMonth/create">
+                <form url="/api/careMonth/create" redir="patients/view/{{ $patient->uid }}/care-months/view/[data]">
                     <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
                     <div class="mb-2">
                         <select name="startMonth" class="form-control form-control-sm">