@extends('layouts.app') @section('title', 'Handover '.$employee->name.' - UniformFlow') @section('page-heading', 'Complete handover') @section('content')
← Exit handovers{{ $employee->employee_no }} / {{ $employee->department }}

Clear {{ $employee->name }}.

{{ $employee->issues->count() ? 'Choose the final outcome for every outstanding issue.' : 'No uniforms are outstanding. Complete a clear exit handover below.' }}

@csrf
Outstanding property

{{ $employee->issues->sum(fn($issue) => $issue->outstanding_quantity) }} units to account for

@forelse($employee->issues as $index => $issue)
{{ strtoupper(substr($issue->variant->item->name,0,2)) }}
{{ $issue->variant->item->name }}Size {{ $issue->variant->size }} / {{ $issue->outstanding_quantity }} unit(s) / Issued {{ $issue->issued_at->format('d M Y') }}
@empty
No outstanding uniformsThis employee has no uniform property requiring an outcome.
@endforelse
This completes employee clearance.The employee will be marked as left. Reusable items will enter returned stock.
@endsection