{{ $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 Before Adj.') }} | {{ __('Adjusted') }} | {{ __('Due') }} | {{ __('Paid') }} | {{--{{ __('Cut') }} | --}}{{ __('Balance') }} |
|---|---|---|---|---|---|---|---|---|
| - | {{ __('Opening Balance') }} | - | {{ $openingBalance > 0 ? number_format((float) $openingBalance, 2) : '-' }} | - | {{ $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_before_adjustment'] ?? 0) > 0 ? number_format((float) $row['due_before_adjustment'], 2) : '-' }} | {{ ($row['adjusted_due'] ?? 0) > 0 ? number_format((float) $row['adjusted_due'], 2) : '-' }} | {{ $row['due'] > 0 ? number_format((float) $row['due'], 2) : '-' }} | {{ $row['paid'] > 0 ? number_format((float) $row['paid'], 2) : '-' }} | {{--{{ $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') }} | {{ $totalAdjustedDue > 0 ? number_format($totalAdjustedDue, 2) : '-' }} | {{ $totalDue > 0 ? number_format($totalDue, 2) : '-' }} | {{ $totalPaid > 0 ? number_format($totalPaid, 2) : '-' }} | {{--{{ $totalCut > 0 ? number_format($totalCut, 2) : '-' }} | --}}Rs. {{ number_format((float) $closingBalance, 2) }} | |||