Customer Name : {{ $customer->name }}
{{ session('success') }}
@endif
@if (session('error'))
{{ session('error') }}
@endif
@if ($errors->has('phno'))
{{ $errors->first('phno') }}
@endif
No. | Invoice Number | Status | Deposit | Remain Balance | Amount |
---|---|---|---|---|---|
{{ $key + 1 }} | {{ $invoice->invoice_no }} | @if ($invoice->deposit == $invoice->total || $invoice->deposit == null) Paid @endif @if ($invoice->deposit <= 0) @if ($invoice->deposit == null) @else Unpaid @endif @endif @if ($invoice->deposit !== $invoice->total) @if ($invoice->deposit >= 1) Patial @endif @endif | @if ($invoice->deposit !== null) {{ number_format($invoice->deposit ?? 0, 2) }} @else 0 @endif | @if ($invoice->remain_balance) {{ number_format($invoice->remain_balance ?? 0, 2) }} @else 0 @endif | {{ number_format($invoice->total ?? 0, 2) }} |
Total | {{ number_format($deposit ?? 0, 2) }} | {{ number_format($balance ?? 0, 2) }} | {{ number_format($total_amount ?? 0, 2) }} |