Fixed: fatal error and zero-amount voucher generation on credit slip

Co-authored-by: Name <azharbhat.qlo098@webkul.in>
This commit is contained in:
amit sharma
2026-09-29 11:07:04 +05:30
parent d8cf510fe5
commit 7d6918d7ee

View File

@@ -121,7 +121,7 @@ class HTMLTemplateOrderSlipCore extends HTMLTemplateInvoice
}
}
} else {
$this->order->products = null;
$this->order->products = array();
}
unset($product); // remove reference