@extends('backend.layouts.admin') @section('main-content')
Expense Types
Add New Type Manage Expense
@forelse ($expense_types as $row) @empty @endforelse
Sr No. Type Department Status Action
{{$row->id}} {{ucfirst($row->name)}} {{$row->department->name??''}}
status==1?'checked':''}}>
No data found
{{$expense_types->links()}}

Add Type

@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('department')) {{ $errors->first('department')}} @endif

Update Expense Type

@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('department')) {{ $errors->first('department') }} @endif
@endsection @push('scripts') @endpush