From 59806fddc84133717fc78b2a50a09d7638a8e79b Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 3 Aug 2023 14:01:34 +0700 Subject: Update get voucher API --- indoteknik_api/controllers/api_v1/voucher.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'indoteknik_api/controllers/api_v1') diff --git a/indoteknik_api/controllers/api_v1/voucher.py b/indoteknik_api/controllers/api_v1/voucher.py index e6fdca68..6dbf8c32 100644 --- a/indoteknik_api/controllers/api_v1/voucher.py +++ b/indoteknik_api/controllers/api_v1/voucher.py @@ -58,8 +58,6 @@ class Voucher(controller.Controller): apply_status = 'UM' # Unqualified Manufacture elif subtotal < min_purchase_amount: apply_status = 'MPA' # Minimum Purchase Amount - elif has_flashsale_products: - apply_status = 'HF' # Has Flashsale else: can_apply = True -- cgit v1.2.3