|
@@ -226,7 +226,7 @@ async def printer_order(order: OrderWeb, current_user: User = Depends(get_curren
|
|
|
)
|
|
)
|
|
|
#en caso contrario
|
|
#en caso contrario
|
|
|
else:
|
|
else:
|
|
|
- if product.type == "Cerveza":
|
|
|
|
|
|
|
+ if product.type == "Cervezas":
|
|
|
beers_for_promo += item.quantity
|
|
beers_for_promo += item.quantity
|
|
|
logger.debug(f"Added {item.quantity} beers for promotion calculation")
|
|
logger.debug(f"Added {item.quantity} beers for promotion calculation")
|
|
|
|
|
|