|
@@ -21,8 +21,8 @@
|
|
|
<table class="table table-sm table-striped p-0 m-0">
|
|
|
<thead class="bg-light">
|
|
|
<tr>
|
|
|
+ <th class="border-0">Created</th>
|
|
|
<th class="border-0">Patient</th>
|
|
|
- <th class="border-0">Type</th>
|
|
|
<th class="border-0 w-50">Details</th>
|
|
|
<th class="border-0">Role</th>
|
|
|
<th class="border-0"></th>
|
|
@@ -31,10 +31,10 @@
|
|
|
<tbody>
|
|
|
@foreach($myTickets as $ticket)
|
|
|
<tr>
|
|
|
+ <td>{{friendlier_date($ticket->created_at)}}</td>
|
|
|
<td class="text-nowrap">
|
|
|
<a href="/patients/view/{{ $ticket->patient->uid }}">{{ $ticket->patient->displayName() }}</a>
|
|
|
</td>
|
|
|
- <td>{{ strtoupper($ticket->category) }}</td>
|
|
|
<td>
|
|
|
<?php
|
|
|
$display = '-';
|
|
@@ -62,6 +62,9 @@
|
|
|
}
|
|
|
}
|
|
|
break;
|
|
|
+ case 'other':
|
|
|
+ $display = @$parsed->title;
|
|
|
+ break;
|
|
|
}
|
|
|
?>
|
|
|
{!! $display !!}
|
|
@@ -78,7 +81,7 @@
|
|
|
{{ $roles }}
|
|
|
</td>
|
|
|
<td>
|
|
|
- <a href="/patients/view/{{ $ticket->patient->uid }}/action-items-{{ $ticket->category }}/view/{{ $ticket->uid }}">Open</a>
|
|
|
+ <a href="/patients/view/{{ $ticket->patient->uid }}/tickets/other/{{ $ticket->uid }}">Open</a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
@endforeach
|