{{ __('Select Customer:') }}
{{ __('-- Select Customer --') }}
{{ __('Walk-in Customer') }}
@foreach($customers as $customer)
{{ $customer->display_name }}
@endforeach
@error('customer_id') {{ $message }} @enderror
@php
$invoiceOptions = $invoices->map(fn ($invoice) => [
'id' => (string) $invoice->id,
'label' => $invoice->invoice_number . ' | ' . \Carbon\Carbon::parse($invoice->created_at)->format('d-m-Y h:i A') . ' | Rs.' . number_format((float) $invoice->paid_amount, 2),
])->values()->all();
@endphp
{{ __('Select Invoice:') }}
$refs.search.focus()); }">
@error('invoice_id')
{{ $message }} @enderror
@error('items')
{{ $message }} @enderror
{{ __('Note (Optional)') }}
@error('note') {{ $message }} @enderror
{{ __('Total Refund:') }} Rs.{{ number_format((float) $totalRefund, 2) }}
{{ __('Refund Account') }}
{{ __('-- Select Account --') }}
@foreach($accounts as $account)
{{ $account->account_name }}
@endforeach
@error('refund_account_id') {{ $message }} @enderror
@if($canCreateSaleReturn)
{{ __('Submit Return') }}
{{ __('Processing...') }}
@endif