@extends('layouts.admin') @section('header-content') @endsection @section('content')
Filter @if( Auth::user()->can('modify_expenses')) @endif
All Expense
@if(!empty($expenses[0]))
@if( Auth::user()->can('modify_expenses')) @endif @foreach($expenses as $key=>$expense) @if( Auth::user()->can('modify_expenses')) @endif @endforeach
# Name Created atAction
{{$key+1}} {{$expense->name}} {{$expense->created_at}} @if($expense->id!=1)
{!! method_field('DELETE') !!} {!! csrf_field() !!}
@endif

{{ $expenses->links() }}
@else

No Records Found

@endif
@endsection @section('footer-content') @endsection