@extends('layouts.frontend.app') @section('content')
Expense List
@foreach ($expenses as $item) @endforeach
# Voucher ID Date Area Member Category Amount voucher By Note Attachment Action
{{$loop->iteration}} {{$item->voucher_id}} {{$item->date}} {{$item->area->name}} {{ empty($item->member_account) ? '-' : "{$item->member->m_name} ($item->member_account)"}} {{$item->category->name}} {{$item->voucher_amount}} {{$item->voucher_by}} {{$item->note}} @if ($item->capture) Attachment @endif {{-- --}} @role('admin')
@csrf @method('DELETE')
@endrole
{{ $expenses->links() }}
@endsection