From 1f0a20e0f85508b94d239dbbb589bcfab0c5b6f6 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Tue, 2 Jul 2024 14:01:58 +0700 Subject: change name discount type --- indoteknik_custom/models/solr/product_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py index 48e87b79..b3787499 100644 --- a/indoteknik_custom/models/solr/product_template.py +++ b/indoteknik_custom/models/solr/product_template.py @@ -103,7 +103,7 @@ class ProductTemplate(models.Model): "qty_sold_f": template.qty_sold, "voucher_pastihemat" : { "min_purchase" : voucher.min_purchase_amount, - "min_purchase" : voucher.discount_type, + "discount_type" : voucher.discount_type, "discount_amount" : voucher.discount_amount, "max_discount" : voucher.max_discount_amount } -- cgit v1.2.3