@extends('layouts.admin') @section('title', 'Apply for Leave') @section('content')
Apply for leave
Submitted as {{ $employee->name }} ({{ $employee->employee_code }})
@csrf
Total days: —. The request goes to an administrator for approval.
@if ($errors->any())
    @foreach ($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif
Cancel
@endsection @push('scripts') @endpush