Update Payment
@csrf
@error('paymentDate') {{ $message }} @enderror
@error('amount') {{ $message }} @enderror
@error('paymentMethod') {{ $message }} @enderror
@error('note') {{ $message }} @enderror
@php $cumulativeTotal = 0; @endphp @forelse ($paymentsForInvoice as $data) @php $cumulativeTotal += $data->amount; @endphp @empty @endforelse @if($cumulativeTotal > 0) @endif
Invoices Payment Date Amount Payment Method

{{ $data->invoice->invoice_id }}

{{ \Carbon\Carbon::parse($data->payment_date)->format('d/m/Y') }}

{{ $data->amount }}

{{ \App\Models\PaymentsModel::PAYMENT_MODE[$data->payment_mode] ?? 'Unknown' }}

No Payments found.

Total Amount: {{ $cumulativeTotal }}
Cancel