|
|
@@ -13,13 +13,13 @@ def get_printer_url(location: Locations) -> str:
|
|
|
if DEVELOPMENT:
|
|
|
return "http://localhost:5005"
|
|
|
if location == Locations.BAR:
|
|
|
- return "http://localhost:6010"
|
|
|
+ return "http://10.10.12.11:5004"
|
|
|
elif location == Locations.COCTELERY:
|
|
|
- return "http://localhost:6012"
|
|
|
+ return "http://10.10.12.12:5004"
|
|
|
elif location == Locations.PIZZAS:
|
|
|
- return "http://localhost:6014"
|
|
|
+ return "http://10.10.12.13:5004"
|
|
|
else:
|
|
|
- return "http://localhost:6016"
|
|
|
+ return "http://10.10.12.14:5004"
|
|
|
|
|
|
def print_order(order: Order, location:Locations ):
|
|
|
"""Send order to printer"""
|