@extends('layouts.app') @section('content')
Customer Statement
{{ $customer->name }}
{{ $customer->phone ?: '-' }} {{ $customer->email ? '| '.$customer->email : '' }}
Invoices
{{ number_format($totals->entries) }}
Total Amount
{{ \App\Models\SystemSetting::formatMoney($totals->total_amount) }}
Paid
{{ \App\Models\SystemSetting::formatMoney($totals->paid_amount) }}
Balance
{{ \App\Models\SystemSetting::formatMoney($totals->balance_amount) }}
@forelse($sales as $sale) @empty @endforelse
Date Invoice No Sale Type Status Total Paid Balance Added By
{{ $sale->sale_date?->format('Y-m-d H:i') }} {{ $sale->invoice_no }} {{ ucfirst($sale->sale_mode) }} {{ ucfirst($sale->payment_status) }} {{ \App\Models\SystemSetting::formatMoney($sale->total_amount) }} {{ \App\Models\SystemSetting::formatMoney($sale->paid_amount) }} {{ \App\Models\SystemSetting::formatMoney($sale->balance_amount) }} {{ $sale->user?->name ?: '-' }}
No invoices found.
@endsection