Add new free subscription addon for "Undervognsskyld pr. enhed" in invoice collection logic
This commit is contained in:
@@ -986,6 +986,8 @@ class collected_order_invoices_o extends db
|
||||
$free_subscription_addons = [
|
||||
23, // Spot Free- Varevogn
|
||||
24, // Spot Free- Lastbil
|
||||
21, // Undervognsskyld pr. enhed.
|
||||
|
||||
];
|
||||
if (in_array($addon['product_id'], $free_subscription_addons)) {
|
||||
$tmp_subscription_price = 0;
|
||||
|
||||
Reference in New Issue
Block a user