@extends('layouts.admin') @section('header-content') @endsection @section('content')
Expense Details
{!! csrf_field() !!}
@if ($errors->has('user')) {{ $errors->first('user') }} @endif
@if ($errors->has('expense_type')) {{ $errors->first('expense_type') }} @endif
@if ($errors->has('date')) {{ $errors->first('date') }} @endif
@if ($errors->has('amount')) {{ $errors->first('amount') }} @endif


@if(!empty($expense)) @foreach($expense->Images->toarray() as $key2=>$value)
@if(isset($value['image']) && !empty($value['image']))
Remove @endif
@endforeach @endif @if(!isset($key2) || empty($key2)) @endif
@if(!empty($expense)) {!! method_field('PUT') !!} @endif {{ csrf_field() }}
@endsection @section('footer-content') @endsection