@extends('backend.layouts.app') @section('title', @$data['title']) @section('content') {!! breadcrumb([ 'title' => @$data['title'], route('admin.dashboard') => _trans('common.Dashboard'), route('user.index') => _trans('common.Employees'), '#' => @$data['title'], ]) !!}
@csrf @if (isset($data['edit'])) @method('PUT') @endif
@error('request_date') {{ $message }} @enderror
@if (auth()->user()->role_id < 4)
@error('is_approved') {{ $message }} @enderror
@endif
@error('reason') {{ $message }} @enderror
@endsection @section('script') @include('backend.partials.table_js') @endsection