{{ $selectedCustomer?->display_name ? 'Selected customer ka due aur payment flow yahan se asani se dekh sakte hain.' : 'Customer select karke uska ledger dekh sakte hain.' }}
| {{ __('Date') }} | {{ __('Description') }} | {{ __('Reference') }} | {{ __('Due') }} | {{ __('Paid') }} | {{ __('Cut') }} | {{ __('Balance') }} |
|---|---|---|---|---|---|---|
| - | {{ __('Opening Balance') }} | - | {{ $openingBalance > 0 ? number_format((float) $openingBalance, 2) : '-' }} | {{ $openingBalance < 0 ? number_format(abs((float) $openingBalance), 2) : '-' }} | - | Rs. {{ number_format((float) $openingBalance, 2) }} |
| {{ $row['date'] }} |
{{ $row['description'] }}
@if(! empty($row['note']))
{{ $row['note'] }}
@endif
|
{{ $row['reference'] ?: '-' }} | {{ $row['due'] > 0 ? number_format((float) $row['due'], 2) : '-' }} | @if(($row['paid'] ?? 0) != 0) {{ (float) $row['paid'] < 0 ? '- ' : '' }}{{ number_format(abs((float) $row['paid']), 2) }} @else - @endif | {{ $row['cut'] > 0 ? number_format((float) $row['cut'], 2) : '-' }} | Rs. {{ number_format((float) $row['balance'], 2) }} |
| {{ __('No ledger entries found for selected filters.') }} | ||||||
| {{ __('Closing Balance') }} | {{ $totalDue > 0 ? number_format($totalDue, 2) : '-' }} | {{ $totalPaid > 0 ? number_format($totalPaid, 2) : '-' }} | {{ $totalCut > 0 ? number_format($totalCut, 2) : '-' }} | Rs. {{ number_format((float) $closingBalance, 2) }} | ||