@extends('layouts.app') @section('title', 'GCLA Logs') @section('content')
Ground Control and Access Logs
Total Logs
{{ $stats['total'] }}
Compliant
{{ $stats['compliant'] }}
Non-Compliant
{{ $stats['non_compliant'] }}
Pending Actions
{{ $stats['pending_actions'] }}
| Reference | Work Permit | Type | Date & Location | Compliance | Actions | Actions |
|---|---|---|---|---|---|---|
|
{{ $log->reference_number }}
|
@if($log->workPermit) {{ $log->workPermit->reference_number }} @else N/A @endif |
{{ ucfirst(str_replace('_', ' ', $log->gcla_type)) }}
|
{{ $log->check_date->format('M d, Y H:i') }}
{{ $log->location }}
|
{{ ucfirst(str_replace('_', ' ', $log->compliance_status)) }} |
@if($log->action_assigned_to && !$log->action_completed)
Action Pending
@if($log->action_due_date)
Due: {{ $log->action_due_date->format('M d, Y') }}
@endif
@elseif($log->action_completed)
Completed
@else
None
@endif
|
View |
| No GCLA logs found. | ||||||