@extends('layouts.frontend.app') @section('content')
Income List
@foreach ($incomes as $item) @endforeach
# Voucher ID Date Area Member Staff 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)"}} {{ empty($item->staff_id) ? '-' : $item->staff->name }} {{$item->category->name}} {{$item->income_amount}} {{$item->income_by}} {{$item->note}} @if ($item->capture) Attachment @endif {{-- --}} @role('admin')
@csrf @method('DELETE')
@endrole
{{ $incomes->links() }}
@endsection