@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 }}.

Choose the final outcome for every outstanding issue.

@csrf
Outstanding property

{{ $employee->issues->sum(fn($i) => $i->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
There are no outstanding uniforms for this employee.
@endforelse
@if($employee->issues->count())
This completes employee clearance.The employee will be marked as left. Reusable items will return to stock.
@endif
@endsection