{{-- A refused clock-in — or clock-out — and the way out of it. Mounted once in the app layout, opened by either clock button dispatching `offsite-blocked` with `action` set to which end of the day was turned away. Tone matters here more than in most dialogs: the person reading it is standing somewhere with their phone out, trying to start or end work. So it states what we observed, says what to do about it, and keeps the door open. --}}
{{ __('Request sent') }}
{{ $action === 'out' ? __('It has gone through by email and in the app. As soon as it is approved you can clock out from where you are — until then you are still on the clock, so ask a director to close the day if you have finished.') : __('It has gone through by email and in the app. As soon as it is approved you will be clocked in automatically, from the time you asked, so you are not losing any of today.') }}
{{ $action === 'out' ? __('Clock out') : __('Clock in') }}
{{ $detail }}
@endif
{{ $action === 'out' ? __('Were you working away from the office today? Apply below to be cleared for the day and you can close it from here.') : __('Working away from the office today? Apply below to be cleared for the day.') }}