@livewire('components.supplier-ledger', ['id' => $supplier_id])
{{ __('main.date') }} {{ __('main.amount') }} {{ __('main.payment_mode') }} {{ __('main.actions') }}
@foreach ($payments as $row) @endforeach
{{ \Carbon\Carbon::parse($row->date)->format('d/m/Y') }}
By {{ $row->createdBy->name ?? '' }}
{{ getFormattedCurrency($row->paid_amount) }}
{{ getPaymentMode($row->payment_mode) }}
@if ($row->reference_number)
{{ __('main.ref') }}: {{ $row->reference_number }}
@endif
{{ __('main.edit') }} {{ __('main.delete') }}
@livewire('components.edit-supplier', ['id' => $supplier_id]) @livewire('components.supplier-add-payment', ['id' => $supplier_id])