@extends('operations.layout.mainlayout') @section('content') {{-- @if(session('role') != 4 && session('role') != 5 && session('role') != 8)--}} {{-- {{exit("

Unauthorized access

")}}--}} {{-- @endif--}}

Audit Trail Report


Updating Date From
Updating Date to
Updated Type
Registered Branch
Processing Branch
Client Name
Corrected User
Processing Unit
Status
@foreach($orders as $order) @endforeach
Reservation ID Sample ID Patient Name Test Name Registration Branch Client Processing Branch Processing Unit Status Update Type Before Update After Update Corrected User Updating Date & Time
{{$order->reservation_id}} @if(in_array('view_samples_details', session('permissions', []) ?? array())) {{$order->TEST_ID}} @else {{$order->TEST_ID}} @endif {{$order->NAME ?? null}} {{$order->NAME_EN ?? null}} {{$order->HOSPITAL_NAME ?? null}} {{$order->client_name ?? null}} {{$order->process_branch ?? null}} {{$order->processing_unit ?? null}} {{$order->DESC_EN ?? null}} {{$order->UPDATED_COLUMN ?? null}} @if(($order->TEST_CATEGORY == null || $order->TEST_CATEGORY == 5) && $order->UPDATED_COLUMN == 'Result') @if($order->PREUPDATE == 1) Negative @elseif($order->PREUPDATE == 2) { Positive @endif @else {{$order->PREUPDATE}} @endif @if(($order->TEST_CATEGORY == null || $order->TEST_CATEGORY == 5) && $order->UPDATED_COLUMN == 'Result') @if($order->POSTUPDATE == 1) Negative @elseif($order->POSTUPDATE == 2) { Positive @endif @else {{$order->POSTUPDATE}} @endif {{$order->SYSTEM_USER_NAME ?? null}} {{$order->UPDATE_TIME ?? null}}
{{$total->total_reservation ?? 0}} {{$total->total_sample ?? 0}} {{$total->total_patient ?? 0}}
@endsection @section('footer-scripts') @endsection