diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-08-04 10:42:14 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-08-04 10:42:14 +0000 |
| commit | 03272a99674a92f7c95b9b95cc5788457e547731 (patch) | |
| tree | 95a0207a3b189cf4cc23a089ac87e0c5ccb5c964 /indoteknik_api/controllers/api_v1 | |
| parent | 71c0324d483419d3b91078cf6efc2263f279362a (diff) | |
| parent | ced09a22623e17a3f1b12ba0d98fa5975b31bf51 (diff) | |
Merged in is_discweb_so_line (pull request #378)
<miqdad> rev disc web
Diffstat (limited to 'indoteknik_api/controllers/api_v1')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/sale_order.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/indoteknik_api/controllers/api_v1/sale_order.py b/indoteknik_api/controllers/api_v1/sale_order.py index fd460ea0..2348a126 100644 --- a/indoteknik_api/controllers/api_v1/sale_order.py +++ b/indoteknik_api/controllers/api_v1/sale_order.py @@ -607,9 +607,6 @@ class SaleOrder(controller.Controller): if is_flash_sale_item: is_has_disc = True _logger.info("Item is flash sale product - marked as discounted") - elif discount_percent > 0 and not global_flash_sale: - is_has_disc = True - _logger.info(f"Item has discount {discount_percent}% - marked as discounted") elif global_flash_sale: _logger.info("Global flash sale active but item not eligible - not marked as discounted") |
