diff --git a/resources/views/care/lab/queue/index.blade.php b/resources/views/care/lab/queue/index.blade.php index 2b69081..8e8c36e 100644 --- a/resources/views/care/lab/queue/index.blade.php +++ b/resources/views/care/lab/queue/index.blade.php @@ -40,27 +40,28 @@
- @if (! empty($queueIntegration['enabled']) && $item->queue_ticket_number) - @include('care.partials.queue-ticket', [ - 'ticketNumber' => $item->queue_ticket_number, - 'ticketStatus' => $item->queue_ticket_status, - ]) - @endif - {{ $item->patient->fullName() }} — {{ $item->investigationType->name }} -
-{{ $statuses[$item->status] ?? $item->status }} · {{ $item->priority }} · {{ $item->created_at->diffForHumans() }}
+{{ $item->patient->fullName() }}
+{{ $item->investigationType->name }}
+{{ $statuses[$item->status] ?? $item->status }} · {{ $item->priority }} · {{ $item->created_at->diffForHumans() }}
+@if ($destination){{ $destination }}@endif - @if ($destination && $staffDisplayName) · @endif + @if ($destination && $staffDisplayName) · @endif @if ($staffDisplayName){{ $staffDisplayName }}@endif - +
@endif - +- @if (! empty($queueIntegration['enabled']) && $rx->queue_ticket_number) - @include('care.partials.queue-ticket', [ - 'ticketNumber' => $rx->queue_ticket_number, - 'ticketStatus' => $rx->queue_ticket_status, - ]) - @endif - {{ $rx->patient->fullName() }} -
-{{ $rx->patient->patient_number }} · {{ $rx->visit->branch?->name }}
-{{ $rx->patient->fullName() }}
+{{ $rx->patient->patient_number }} · {{ $rx->visit->branch?->name }}
+- @if (! empty($queueIntegration['enabled']) && $appointment->queue_ticket_number) - @include('care.partials.queue-ticket', [ - 'ticketNumber' => $appointment->queue_ticket_number, - 'ticketStatus' => $appointment->queue_ticket_status, - 'destination' => $appointment->queue_destination, - 'staffDisplayName' => $appointment->queue_staff_display_name, - ]) - @elseif (! empty($queueIntegration['enabled']) && ($appointment->queue_routing_status ?? '') === 'unresolved') - Unassigned - @elseif ($appointment->queue_position) - {{ $appointment->queue_position }} - @endif - {{ $appointment->patient->fullName() }} -
-{{ $appointment->patient->patient_number }} · {{ $appointment->reason ?? '—' }}
+{{ $appointment->patient->fullName() }}
+{{ $appointment->patient->patient_number }} · {{ $appointment->reason ?? '—' }}
+