{{ csrf_field() }} @if(isset($rec->id)) {{ method_field('PATCH') }} @endif
@php if($errors->has('amount')) { echo $errors->first('amount') ; } @endphp
@php if($errors->has('date')) { echo $errors->first('date') ; } @endphp