diff --git a/app/Views/billing/charges/invoice_pdf_template.php b/app/Views/billing/charges/invoice_pdf_template.php index 06ecb4d..8935c0b 100644 --- a/app/Views/billing/charges/invoice_pdf_template.php +++ b/app/Views/billing/charges/invoice_pdf_template.php @@ -60,6 +60,7 @@ $qrPackageAvailable = class_exists('\\Mpdf\\QrCode\\QrCode'); $paidAmountPrint = (float) ($invoice->payment_part_received ?? 0); $balanceAmountPrint = (float) ($invoice->payment_part_balance ?? ($netAmount - $paidAmountPrint)); +$paymentHistory = $payment_history_details ?? []; /** * Convert numbers to words (basic implementation for Indian system) @@ -262,6 +263,19 @@ if (!function_exists('convertNumberToWords')) { $amountInWords = convertNumberToWords((int)$netAmount); echo esc($amountInWords) . ' Only'; ?> + payment_mode ?? 0); + if ($pmodeInner === 3) : ?> +
Payment Details: Credit to IPD
+ +
Payment Details: Credit to Organisation
+ +
Payment Receipts: + + Payment_type_str ?? '')) ?> — amount ?? 0), 2)) ?>  + +
+