a
All checks were successful
Deploy App to Docker / deploy (push) Successful in 27s

This commit is contained in:
zman 2025-04-14 21:37:11 -04:00
parent a97ba6e858
commit 8155ba2f8d

View File

@ -184,11 +184,11 @@ class PricingService:
# Adjust markups if quantity is high
if quantity > 3:
adjusted_bands = {}
increment = Decimal('0.10')
increment = Decimal('0.20')
for markup, price_range in zip(markup_bands.keys(), markup_bands.values()):
new_markup = Decimal(str(markup)) + increment
adjusted_bands[new_markup] = price_range
increment -= Decimal('0.01')
increment -= Decimal('0.02')
markup_bands = adjusted_bands
#if FREE_SHIPPING: