@php $c = $selected; $s = $statement; @endphp
@if($company->address){{ $company->address }}
@endif
@if($company->city){{ $company->city }}, {{ $company->state }} {{ $company->pincode }}
@endif
@if($company->phone){{ $company->phone }}
@endif
@if($company->email){{ $company->email }}@endif
From {{ $s['from']->format('d - M - Y') }} To {{ $s['to']->format('d - M - Y') }}
To
| Date | Transaction | Details | Amount (₹) | Payments (₹) | Balance (₹) |
|---|---|---|---|---|---|
| {{ $row['date']->format('d - M - Y') }} | {{ $row['transaction'] }} | {{ $row['details'] ?: '—' }} | {{ $row['amount'] > 0 ? number_format($row['amount'], 2) : '0.00' }} | {{ $row['payment'] > 0 ? number_format($row['payment'], 2) : '0.00' }} | {{ number_format($row['balance'], 2) }} |
| Balance due | ₹{{ number_format($s['balance_due'], 2) }} | ||||
Statement of accounts — {{ config('app.name', 'Billing ERP') }}