@extends('backend.layouts.app') @section('title', @$data['title']) @section('content') {!! breadcrumb([ 'title' => @$data['title'], route('admin.dashboard') => _trans('common.Dashboard'), '#' => @$data['title'], ]) !!}
@csrf
@if (auth()->user()->role->slug == 'staff') @else @endif @if ($errors->has('user_id'))
{{ $errors->first('user_id') }}
@endif
@if ($errors->has('month'))
{{ $errors->first('month') }}
@endif
@if ($errors->has('advance_type'))
{{ $errors->first('advance_type') }}
@endif
@if ($errors->has('amount'))
{{ $errors->first('amount') }}
@endif
@if ($errors->has('recovery_mode'))
{{ $errors->first('datrecovery_modee') }}
@endif
@if ($errors->has('recovery_cycle'))
{{ $errors->first('recovery_cycle') }}
@endif
@if ($errors->has('installment_amount'))
{{ $errors->first('installment_amount') }}
@endif
@if ($errors->has('recover_from'))
{{ $errors->first('recover_from') }}
@endif
@if ($errors->has('reason'))
{{ $errors->first('reason') }}
@endif
@if (@$data['url'])
@endif
@endsection