Browse Source

Note -> When type is New, make Method editable with options Video, In-Cli & Hous-Call

Vijayakrishnan 4 years ago
parent
commit
e2cc01f2ab
1 changed files with 3 additions and 1 deletions
  1. 3 1
      resources/views/app/patient/note/dashboard.blade.php

+ 3 - 1
resources/views/app/patient/note/dashboard.blade.php

@@ -173,7 +173,7 @@
             <div class="px-2">
                 <div class="d-flex">
                     <span class="mr-2"><span class="text-secondary">Method:</span> {{$note->method ? $note->method : '-'}}</span>
-                    @if(!$note->is_signed_by_hcp && $note->new_or_fu_or_na !== 'NEW')
+                    @if(!$note->is_signed_by_hcp)
                         <div moe class="ml-auto">
                             <a href="" show start><i class="fa fa-edit"></i></a>
                             <form url="/api/note/updateMethod">
@@ -182,7 +182,9 @@
                                     <select name="method" class="form-control form-control-sm" required>
                                         <option value="">-- select --</option>
                                         <option value="VIDEO" {{ $note->method === "VIDEO" ? "selected" : "" }}>Video</option>
+                                        @if($note->new_or_fu_or_na !== 'NEW')
                                         <option value="AUDIO" {{ $note->method === "AUDIO" ? "selected" : "" }}>Audio</option>
+                                        @endif
                                         <option value="IN_CLINIC" {{ $note->method === "IN_CLINIC" ? "selected" : "" }}>In-Clinic</option>
                                         <option value="HOUSE_CALL" {{ $note->method === "HOUSE_CALL" ? "selected" : "" }}>House Call</option>
                                     </select>