@extends('layouts.app') @section('title','Receipts') @section('page_title','Receipt Vouchers') @section('content')

Receipt Vouchers

Customer receipts, vendor refunds and other incoming payments.

@if(auth()->user()->hasPermission('receipts.create'))+ New Receipt@endif
{{ $receipts->total() }} receipts
@forelse($receipts as $r)@php($s=$r->status instanceof \App\Enums\DocumentStatus?$r->status->value:$r->status)@empty@endforelse
ReceiptDateTypePartyMethodAmountAllocatedStatus
{{ $r->receipt_number }}
{{ $r->reference_number }}
{{ $r->receipt_date->format('d M Y') }}{{ ucwords(str_replace('_',' ',$r->receipt_type)) }}{{ $r->party?->legal_name }}{{ ucwords(str_replace('_',' ',$r->payment_method)) }}{{ $r->currency_code }} {{ number_format((float)$r->amount,2) }}{{ number_format((float)$r->allocated_total,2) }}{{ ucwords(str_replace('_',' ',$s)) }}Open
No receipts found.
{{ $receipts->links() }}
@endsection