@livewire('components.customer-profile', ['id' => $customer_id])
{{ __('main.voucher_no') }} {{ __('main.date') }} {{ __('main.amount') }} {{ __('main.towards') }} {{ __('main.payment_mode') }}
@foreach ($payments as $row) @endforeach
#{{ $row->voucher_no }}
{{ \Carbon\Carbon::parse($row->date)->format('d/m/Y') }}
{{ __('main.by') }} {{ $row->createdByPayment->name ?? '' }}
{{ getFormattedCurrency($row->paid_amount) }}
@if ($row->payment_type == 1) {{ __('main.invoice') }} @endif @if ($row->payment_type == 2) {{ __('main.opening_balance') }} @endif @if ($row->payment_type == 3) {{ __('main.cash_receipt') }} @endif
@if ($row->payment_type == 1) #{{ $row->invoice->invoice_number ?? '' }} @endif
{{ getPaymentMode($row->payment_mode) }}
@if ($row->note != '') {{ __('main.ref') }} {{ $row->note }} @endif
@if ($hasMorePages)
Loading...
Loading...
@endif
@livewire('components.customer-discount', ['id' => $customer_id])