|
@@ -72,8 +72,14 @@
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@foreach($patient->incomingReports as $document)
|
|
|
+ @if($document->is_entry_error && $pro->pro_type !== 'ADMIN')
|
|
|
+ @continue
|
|
|
+ @endif
|
|
|
<tr class="{{$document->is_entry_error ? 'entry-error' : ''}} {{@$currentReport->uid === $document->uid ? 'bg-aliceblue' : ''}}">
|
|
|
<td>
|
|
|
+ @if($document->is_entry_error)
|
|
|
+ <i class="fas fa-exclamation-triangle fa-fw text-danger pr-1" title="Entry error"></i>
|
|
|
+ @endif
|
|
|
{{ friendly_date_time($document->created_at, false) }}
|
|
|
@if(request()->input('noteUid') && $document->note && $document->note->uid === request()->input('noteUid'))
|
|
|
<div class="mt-1 text-info text-sm">Created on this note</div>
|
|
@@ -210,7 +216,7 @@
|
|
|
@if(!$currentReport->is_entry_error)
|
|
|
<div moe relative class="mr-2 pr-1">
|
|
|
<a href="#" start show class="on-hover-opaque" title="Mark as entry-error"><i class="fa fa-ban text-danger"></i></a>
|
|
|
- <form url="/api/incomingReport/setIsEntryErrorToTrue" right>
|
|
|
+ <form url="/api/incomingReport/setIsEntryErrorToTrue" redir="{{ route('patients.view.incoming-reports', $patient) }}" right>
|
|
|
<input type="hidden" name="uid" value="{{ $currentReport->uid }}">
|
|
|
<p class="small">Are you sure you want to set this report as entry error?</p>
|
|
|
<div class="d-flex align-items-center">
|