@extends('backend.layouts.master') @section('section-title', 'Expense') @section('page-title', 'Expense Edit') @if (check_permission('expense.update')) @section('action-button') All Expense @endsection @endif @section('content')
@csrf @method('PUT') {{-- Purchase Date --}}
{{ ($errors->has('date'))?$errors->first('date'):''; }}
{{-- Expense name --}}
{{ ($errors->has('name'))?$errors->first('name'):''; }}
{{-- Category --}}
{{ ($errors->has('category_id'))?$errors->first('category_id'):''; }}
{{-- Account --}}
{{ ($errors->has('bank_id'))?$errors->first('bank_id'):''; }}
{{-- Amount --}}
{{ ($errors->has('amount'))?$errors->first('amount'):''; }}
{{-- Note --}}
@endsection