@extends('admin.layouts.app') @section('title', 'Expenses') @section('content')

Expenses

All System Expenses
{{--

Add lightweight datatables to your project with using the Simple DataTables library. Just add .datatable class name to any table you wish to conver to a datatable. Check for more examples.

--}}
@if(Auth::guard('admin')->user()->type == 'admin') @endif @forelse($expenses as $expense) @if(Auth::guard('admin')->user()->type == 'admin') @endif @empty @endforelse
Title Amount Purpose DateAction
{{ $expense->title }} {{ $expense->amount }} {{ $expense->date }} {!! $expense->purpose !!} Edit Delete
No Expense Yet. Please ADD AN EXPENSE
@endsection