|
@@ -53,7 +53,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="card mb-0 {{ $note->is_cancelled ? 'cancelled-item' : '' }}">
|
|
|
- <div class="card-header d-flex align-items-start px-3 py-2 border-bottom">
|
|
|
+ <span class="card-header d-flex align-items-start px-3 py-2 border-bottom">
|
|
|
<div class="pr-2">
|
|
|
{{$note->title}}
|
|
|
@if(!$note->is_signed_by_hcp)
|
|
@@ -144,6 +144,53 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+
|
|
|
+ @if($performer->pro->pro_type == 'ADMIN')
|
|
|
+ <span class="px-2 border-right d-flex">
|
|
|
+ @if($note->allyPro)
|
|
|
+ <span class="mr-2"><span class="text-secondary">NA:</span> {{$note->allyPro->name_first}} {{$note->allyPro->name_last}}</span>
|
|
|
+ <span class="d-inline-block" moe>
|
|
|
+ <a class="text-danger" href="" show start>
|
|
|
+ <i class="fa fa-times"></i>
|
|
|
+ </a>
|
|
|
+ <form url="/api/note/removeNa">
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
+ <p>Remove NA?</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
+ @else
|
|
|
+ <span class="mr-2"><span class="text-secondary">NA:</span> - </span>
|
|
|
+ <span class="d-block" moe>
|
|
|
+ <a class="text-danger" href="" show start>
|
|
|
+ <i class="fa fa-edit"></i>
|
|
|
+ </a>
|
|
|
+ <form url="/api/note/putNa">
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="" class="control-label">NA</label>
|
|
|
+ <select name="naProUid" class="form-control">
|
|
|
+ <option value="">--select--</option>
|
|
|
+ @foreach($allyPros as $allyPro)
|
|
|
+ <option value="{{$allyPro->uid}}">{{$allyPro->name_first}} {{$allyPro->name_last}}</option>
|
|
|
+ @endforeach
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
+ @endif
|
|
|
+
|
|
|
+ </span>
|
|
|
+ @endif
|
|
|
+
|
|
|
+
|
|
|
<div class="px-2 border-right">
|
|
|
<div class="d-flex">
|
|
|
<span class="mr-2"><span class="text-secondary">Type:</span> {{$note->new_or_fu_or_na ? ($note->new_or_fu_or_na === 'NEW' ? 'New Patient' : $note->new_or_fu_or_na) : '-'}}</span>
|
|
@@ -1181,9 +1228,6 @@
|
|
|
|
|
|
@include('app/patient/note/_cancel-signed-note')
|
|
|
|
|
|
- <div class="border-top p-3">
|
|
|
- @include('app/patient/note/_manage_note_ally')
|
|
|
- </div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|