{{ $selectedSupplier?->display_name ? 'Selected supplier ki purchases aur payments yahan simple ledger me nazar aayengi.' : 'Supplier select karke uska ledger dekh sakte hain.' }}
| {{ __('Date') }} | {{ __('Description') }} | {{ __('Reference') }} | {{ __('Due') }} | {{ __('Paid') }} | {{ __('Freight') }} | {{ __('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'] }}
@if(!empty($row['time']))
{{ $row['time'] }}
@endif
|
{{ $row['description'] }} |
{{ $row['reference'] ?: '-' }}
@if(!empty($row['note']))
{{ $row['note'] }}
@endif
|
{{ $row['due'] > 0 ? number_format((float) $row['due'], 2) : '-' }} | @if(($row['paid'] ?? 0) != 0) - {{ number_format(abs((float) $row['paid']), 2) }} @else - @endif | {{ ($row['cut'] ?? 0) > 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) }} | ||