Ver código fonte

Make pro <select> on note create

Vijayakrishnan 3 anos atrás
pai
commit
a4b44439c9
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      resources/views/app/patient/notes.blade.php

+ 5 - 5
resources/views/app/patient/notes.blade.php

@@ -11,11 +11,11 @@
                 <form url="/api/note/create" class="mcp-theme-1"
                       redir="patients/view/{{ $patient->uid }}/notes/view/[data]">
                     <input type="hidden" name="clientUid" value="{{$patient->uid}}">
-                    @if($pro->is_hcp)
-                    <input type="hidden" name="hcpProUid" value="{{$pro->uid}}">
-                    @else
-                    <input type="hidden" name="naProUid" value="{{$pro->uid}}">
-                    @endif
+                    <div class="form-group">
+                        <label for="" class="text-secondary text-sm mb-1">Pro *</label>
+                        <select name="hcpProUid" class="form-control" provider-search required data-pro-uid="{{$pro->is_hcp ? $pro->uid : ''}}">
+                        </select>
+                    </div>
                     <input type="hidden" name="effectiveDateEST" value="{{ date('Y-m-d') }}">
                     <div class="form-group">
                         <label for="" class="text-secondary text-sm mb-1">Type *</label>