{{ __('main.purchase_payments') }}
@foreach ($purchases as $row) @endforeach
{{ __('main.date') }} {{ __('main.supplier') }} {{ __('main.amount') }} {{ __('main.payment_mode') }} {{ __('main.actions') }}
{{ \Carbon\Carbon::parse($row->date)->format('d/m/Y') }}
{{ __('main.by') }} {{ $row->createdBy->name ?? '' }}
{{ $row->supplier->name ?? '' }}
{{ $row->supplier->tax_number ?? '' }}
{{ getFormattedCurrency($row->paid_amount) }}
{{ getPaymentMode($row->payment_mode) }}
@if ($row->reference_number)
{{ __('main.ref') }}: {{ $row->reference_number }}
@endif
{{ __('main.edit') }} {{ __('main.delete') }}
@if (count($purchases) == 0) @endif