@extends('backend.layouts.master') @section('section-title', 'Expense') @section('page-title', 'Add Expense') @if (check_permission('expense.update')) @section('action-button') All Expense @endsection @endif @section('content')
@csrf @if (auth()->user()->branch_id == 1)
{{ $errors->has('branch_id') ? $errors->first('branch_id') : '' }}
@endif {{-- 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