{{ (isset($checkoutMessage) || session('checkout_message')) ? 'Check-out Successful!' : 'Check-in Successful!' }}

@if(isset($checkoutMessage) || session('checkout_message'))

Goodbye, {{ session('staff_name') }}. {{ $checkoutMessage ?? session('checkout_message') }}

@else

Hello, {{ session('staff_name') }}. Your check-in has been recorded. Have a productive day!

@php $pin = $checkoutPin ?? session('checkout_pin'); $pinLoc = $checkoutPinLocation ?? session('checkout_pin_location'); @endphp @if($pin)
Your Checkout PIN
{{ $pin }}

Please save or note down this 6-digit PIN. You will need it to check out from {{ $pinLoc ?? 'this location' }} when leaving.

@endif @endif @if(!empty($redirectCheckinUrl)) {{-- Auto-redirect countdown banner --}}

Redirecting you to check in at {{ $redirectCheckinLocation }} in 4s…

{{-- Progress bar --}}
@endif
@if(!empty($redirectCheckinUrl)) @endif