diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-07-02 14:01:58 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-07-02 14:01:58 +0700 |
| commit | 1f0a20e0f85508b94d239dbbb589bcfab0c5b6f6 (patch) | |
| tree | 9d448d70286da54b9138440bd2bf527815cfee14 | |
| parent | 42c7fe85cafd0d9100319805b6e45f1ca603ec1b (diff) | |
change name discount type
| -rw-r--r-- | indoteknik_custom/models/solr/product_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
