@extends('layouts.app') @section('content') @include('invoices.styles')
Tax withheld (non-cash settlement): {{ \App\Models\SystemSetting::formatMoney($totals->withholding_amount) }}. Amount Received shows money only.
@endif| Date | Invoice No. | Customer | Branch | Salesperson | Status | Total | Received | Balance | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ $invoice->sale_date?->format('d M Y H:i') }} | {{ $invoice->invoice_no }} | {{ $invoice->customer?->name ?: ($invoice->customer_name ?: 'Walk in') }} | {{ $invoice->branch?->name ?: '-' }} | {{ $invoice->user?->name ?: '-' }} | {{ $invoice->paid_amount > 0 ? 'Partially paid' : 'Unpaid' }} | {{ \App\Models\SystemSetting::formatMoney($invoice->total_amount) }} | {{ \App\Models\SystemSetting::formatMoney($invoice->paid_amount - (float)$invoice->withholding_amount) }}@if((float)$invoice->withholding_amount>0) Tax withheld: {{ \App\Models\SystemSetting::formatMoney($invoice->withholding_amount) }}@endif | {{ \App\Models\SystemSetting::formatMoney($invoice->balance_amount) }} | @if(auth()->user()->hasAnyPermission(['invoices.details','invoices.receive_payment','invoices.print']) || ($invoice->paid_amount > 0 && auth()->user()->hasPermission('invoices.edit_payment'))) @else - @endif |
| No outstanding invoices found. | |||||||||
| Filtered Totals · {{ number_format($totals->entries) }} invoices | {{ \App\Models\SystemSetting::formatMoney($totals->total_amount) }} | {{ \App\Models\SystemSetting::formatMoney($totals->paid_amount - $totals->withholding_amount) }} | {{ \App\Models\SystemSetting::formatMoney($totals->balance_amount) }} | ||||||