Fixed: fatal error and zero-amount voucher generation on credit slip
Co-authored-by: Name <azharbhat.qlo098@webkul.in>
This commit is contained in:
@@ -121,7 +121,7 @@ class HTMLTemplateOrderSlipCore extends HTMLTemplateInvoice
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$this->order->products = null;
|
||||
$this->order->products = array();
|
||||
}
|
||||
|
||||
unset($product); // remove reference
|
||||
|
||||
Reference in New Issue
Block a user