@extends('templates.dashboard') @section('isi')

{{ $title }}

@method('PUT') @csrf
@if (auth()->user()->is_admin == 'admin') @error('user_id')
{{ $message }}
@enderror @else @endif
@error('tanggal')
{{ $message }}
@enderror
@error('nominal')
{{ $message }}
@enderror
@error('keperluan')
{{ $message }}
@enderror
@if (auth()->user()->is_admin == 'admin') @php $status = array( [ "status" => "PENDING", ], [ "status" => "ACC", ]); @endphp @error('status')
{{ $message }}
@enderror @else @endif
@push('script') @endpush @endsection