@extends('layouts.app') @section('title', 'Edit Payment') @section('content')
{{ $editMessage }}
{{ $editMessage }}
Note: Edit is only allowed when sales_invoice_transections.id matches bank_transactions.sales_invoice_transections_id
Payment ID: {{ $payment->id }}
Invoice Number: {{ $payment->salesInvoice->invoice_number ?? 'N/A' }}
Customer: {{ $payment->salesInvoice->customer->customer_name ?? 'N/A' }}
Current Amount: BDT {{ number_format($payment->amount, 2) }}
Bank Transaction ID: {{ $payment->bankTransaction->id }}
Linked ID: {{ $payment->bankTransaction->sales_invoice_transections_id }}
Current Deposit Balance: BDT {{ number_format($payment->bankTransaction->deposit_balance, 2) }}
Bank Account: {{ $bankAccountInfo->bank_name ?? 'N/A' }} - {{ $bankAccountInfo->account_number ?? 'N/A' }}
@elseNo Bank Transaction Linked
@endif