diff --git a/nfu_ecommerce/controllers/main.py b/nfu_ecommerce/controllers/main.py index 1d443da..b81cbd4 100644 --- a/nfu_ecommerce/controllers/main.py +++ b/nfu_ecommerce/controllers/main.py @@ -29,6 +29,7 @@ class WebsiteSale(WebsiteSale): packaging_info[product.id] = { "state": batch_product.open_packaging_state, "open_qty": batch_product.open_packaging_qty, + "open_max_qty": batch_product.open_packaging_max_qty, "package_qty": batch_product.product_packaging_qty, } else: diff --git a/nfu_ecommerce/views/templates.xml b/nfu_ecommerce/views/templates.xml index 452643e..b0041cb 100644 --- a/nfu_ecommerce/views/templates.xml +++ b/nfu_ecommerce/views/templates.xml @@ -27,12 +27,32 @@ + +