Forms that do not require user sign in appear here.
Sign in to view all forms
@php
$hasReports = false;
@endphp
@if (isset($head_office->near_miss) && $head_office->near_miss->is_quick_report == 1 && isset($head_office->near_miss->category) && $head_office->near_miss->isActive == true)
@php $hasReports = true; @endphp
@endif
@php
$user = Auth::guard('location')->user();
$forms = $user->group_forms();
@endphp
@if (count($forms))
@foreach ($forms->groupBy('category.name') as $category => $forms2)
@php
$filteredForms = $forms2->filter(function ($form) {
return $form->is_quick_report && $form->is_active; // Check if form is a quick report and active
});
@endphp
@if ($filteredForms->isNotEmpty())
@php $hasReports = true; @endphp
@endif
@endforeach
@endif
@if (!$hasReports)
{{ $category }}
@foreach ($filteredForms as $form)
{{ $form->name }}
@if (isset($form) && $form->is_qr_code == 1)
@endif
@endforeach
No quick report forms available. Login to see all forms.
@endif
@if ($head_office->is_viewable_to_user == 0)
0333 335 6476
@else($head_office->is_viewable_to_user == 'on')
@endif
{{ $head_office->technical_email }}
{{ $head_office->technical_phone }}
Hours Available
| Day | From | To |
|---|---|---|
| {{ ucfirst($day) }} | @if (isset($head_office_timing) && is_object($head_office_timing) && method_exists($head_office_timing, 'convert_time') && isset($head_office_timing->$start)) {{ strtolower($head_office_timing->convert_time($head_office_timing->$start)) }} @else N/A @endif | @if (isset($head_office_timing) && is_object($head_office_timing) && method_exists($head_office_timing, 'convert_time') && isset($head_office_timing->$end)) {{ strtolower($head_office_timing->convert_time($head_office_timing->$end)) }} @else N/A @endif |
Sign in as a User
@if ($location->quick_login == 1)
Select User
Sign in with Email
@else
Sign in with Email
@endif