From de0324d4cd2e9764a9c5258f0c66e2ab024cf374 Mon Sep 17 00:00:00 2001 From: Yarne Coppens Date: Sun, 29 Sep 2024 16:42:10 +0200 Subject: [PATCH] Moved icons for organisation --- icons/{ => cash}/fifty_euro.svg | 0 icons/{ => cash}/five_euro.svg | 0 icons/{ => cash}/fivehundred_euro.svg | 0 icons/{ => cash}/hundred_euro.svg | 0 icons/{ => cash}/one_euro.svg | 0 icons/{ => cash}/ten_euro.svg | 0 icons/{ => cash}/twenty_euro.svg | 0 icons/{ => cash}/two_euro.svg | 0 icons/{ => cash}/twohundred_euro.svg | 0 icons/{ => fruit}/apple.svg | 0 icons/{ => fruit}/banana.svg | 0 icons/{ => fruit}/blueberry.svg | 0 icons/{ => fruit}/cherry.svg | 0 icons/{ => fruit}/grape.svg | 0 icons/{ => fruit}/kiwi.svg | 0 icons/{ => fruit}/lemon.svg | 0 icons/{ => fruit}/melon.svg | 0 icons/{ => fruit}/orange.svg | 0 icons/{ => fruit}/peach.svg | 0 icons/{ => fruit}/pear.svg | 0 icons/{ => fruit}/pineapple.svg | 0 icons/{ => fruit}/raspberry.svg | 0 icons/{ => fruit}/strawberry.svg | 0 icons/{ => garage}/air_pump.svg | 0 icons/{ => garage}/bike_bell.svg | 0 icons/{ => garage}/flashlight.svg | 0 icons/{ => garage}/gas.svg | 0 icons/{ => garage}/light.svg | 0 icons/{ => garage}/oil.svg | 0 icons/{ => garage}/search.svg | 0 icons/{ => garage}/steering_wheel.svg | 0 icons/{ => garage}/tire.svg | 0 icons/{ => garage}/tool_usage.svg | 0 icons/{ => garage}/wash.svg | 0 icons/{ => garage}/work_time.svg | 0 src/data_connection.py | 52 +++++++++++++-------------- 36 files changed, 26 insertions(+), 26 deletions(-) rename icons/{ => cash}/fifty_euro.svg (100%) rename icons/{ => cash}/five_euro.svg (100%) rename icons/{ => cash}/fivehundred_euro.svg (100%) rename icons/{ => cash}/hundred_euro.svg (100%) rename icons/{ => cash}/one_euro.svg (100%) rename icons/{ => cash}/ten_euro.svg (100%) rename icons/{ => cash}/twenty_euro.svg (100%) rename icons/{ => cash}/two_euro.svg (100%) rename icons/{ => cash}/twohundred_euro.svg (100%) rename icons/{ => fruit}/apple.svg (100%) rename icons/{ => fruit}/banana.svg (100%) rename icons/{ => fruit}/blueberry.svg (100%) rename icons/{ => fruit}/cherry.svg (100%) rename icons/{ => fruit}/grape.svg (100%) rename icons/{ => fruit}/kiwi.svg (100%) rename icons/{ => fruit}/lemon.svg (100%) rename icons/{ => fruit}/melon.svg (100%) rename icons/{ => fruit}/orange.svg (100%) rename icons/{ => fruit}/peach.svg (100%) rename icons/{ => fruit}/pear.svg (100%) rename icons/{ => fruit}/pineapple.svg (100%) rename icons/{ => fruit}/raspberry.svg (100%) rename icons/{ => fruit}/strawberry.svg (100%) rename icons/{ => garage}/air_pump.svg (100%) rename icons/{ => garage}/bike_bell.svg (100%) rename icons/{ => garage}/flashlight.svg (100%) rename icons/{ => garage}/gas.svg (100%) rename icons/{ => garage}/light.svg (100%) rename icons/{ => garage}/oil.svg (100%) rename icons/{ => garage}/search.svg (100%) rename icons/{ => garage}/steering_wheel.svg (100%) rename icons/{ => garage}/tire.svg (100%) rename icons/{ => garage}/tool_usage.svg (100%) rename icons/{ => garage}/wash.svg (100%) rename icons/{ => garage}/work_time.svg (100%) diff --git a/icons/fifty_euro.svg b/icons/cash/fifty_euro.svg similarity index 100% rename from icons/fifty_euro.svg rename to icons/cash/fifty_euro.svg diff --git a/icons/five_euro.svg b/icons/cash/five_euro.svg similarity index 100% rename from icons/five_euro.svg rename to icons/cash/five_euro.svg diff --git a/icons/fivehundred_euro.svg b/icons/cash/fivehundred_euro.svg similarity index 100% rename from icons/fivehundred_euro.svg rename to icons/cash/fivehundred_euro.svg diff --git a/icons/hundred_euro.svg b/icons/cash/hundred_euro.svg similarity index 100% rename from icons/hundred_euro.svg rename to icons/cash/hundred_euro.svg diff --git a/icons/one_euro.svg b/icons/cash/one_euro.svg similarity index 100% rename from icons/one_euro.svg rename to icons/cash/one_euro.svg diff --git a/icons/ten_euro.svg b/icons/cash/ten_euro.svg similarity index 100% rename from icons/ten_euro.svg rename to icons/cash/ten_euro.svg diff --git a/icons/twenty_euro.svg b/icons/cash/twenty_euro.svg similarity index 100% rename from icons/twenty_euro.svg rename to icons/cash/twenty_euro.svg diff --git a/icons/two_euro.svg b/icons/cash/two_euro.svg similarity index 100% rename from icons/two_euro.svg rename to icons/cash/two_euro.svg diff --git a/icons/twohundred_euro.svg b/icons/cash/twohundred_euro.svg similarity index 100% rename from icons/twohundred_euro.svg rename to icons/cash/twohundred_euro.svg diff --git a/icons/apple.svg b/icons/fruit/apple.svg similarity index 100% rename from icons/apple.svg rename to icons/fruit/apple.svg diff --git a/icons/banana.svg b/icons/fruit/banana.svg similarity index 100% rename from icons/banana.svg rename to icons/fruit/banana.svg diff --git a/icons/blueberry.svg b/icons/fruit/blueberry.svg similarity index 100% rename from icons/blueberry.svg rename to icons/fruit/blueberry.svg diff --git a/icons/cherry.svg b/icons/fruit/cherry.svg similarity index 100% rename from icons/cherry.svg rename to icons/fruit/cherry.svg diff --git a/icons/grape.svg b/icons/fruit/grape.svg similarity index 100% rename from icons/grape.svg rename to icons/fruit/grape.svg diff --git a/icons/kiwi.svg b/icons/fruit/kiwi.svg similarity index 100% rename from icons/kiwi.svg rename to icons/fruit/kiwi.svg diff --git a/icons/lemon.svg b/icons/fruit/lemon.svg similarity index 100% rename from icons/lemon.svg rename to icons/fruit/lemon.svg diff --git a/icons/melon.svg b/icons/fruit/melon.svg similarity index 100% rename from icons/melon.svg rename to icons/fruit/melon.svg diff --git a/icons/orange.svg b/icons/fruit/orange.svg similarity index 100% rename from icons/orange.svg rename to icons/fruit/orange.svg diff --git a/icons/peach.svg b/icons/fruit/peach.svg similarity index 100% rename from icons/peach.svg rename to icons/fruit/peach.svg diff --git a/icons/pear.svg b/icons/fruit/pear.svg similarity index 100% rename from icons/pear.svg rename to icons/fruit/pear.svg diff --git a/icons/pineapple.svg b/icons/fruit/pineapple.svg similarity index 100% rename from icons/pineapple.svg rename to icons/fruit/pineapple.svg diff --git a/icons/raspberry.svg b/icons/fruit/raspberry.svg similarity index 100% rename from icons/raspberry.svg rename to icons/fruit/raspberry.svg diff --git a/icons/strawberry.svg b/icons/fruit/strawberry.svg similarity index 100% rename from icons/strawberry.svg rename to icons/fruit/strawberry.svg diff --git a/icons/air_pump.svg b/icons/garage/air_pump.svg similarity index 100% rename from icons/air_pump.svg rename to icons/garage/air_pump.svg diff --git a/icons/bike_bell.svg b/icons/garage/bike_bell.svg similarity index 100% rename from icons/bike_bell.svg rename to icons/garage/bike_bell.svg diff --git a/icons/flashlight.svg b/icons/garage/flashlight.svg similarity index 100% rename from icons/flashlight.svg rename to icons/garage/flashlight.svg diff --git a/icons/gas.svg b/icons/garage/gas.svg similarity index 100% rename from icons/gas.svg rename to icons/garage/gas.svg diff --git a/icons/light.svg b/icons/garage/light.svg similarity index 100% rename from icons/light.svg rename to icons/garage/light.svg diff --git a/icons/oil.svg b/icons/garage/oil.svg similarity index 100% rename from icons/oil.svg rename to icons/garage/oil.svg diff --git a/icons/search.svg b/icons/garage/search.svg similarity index 100% rename from icons/search.svg rename to icons/garage/search.svg diff --git a/icons/steering_wheel.svg b/icons/garage/steering_wheel.svg similarity index 100% rename from icons/steering_wheel.svg rename to icons/garage/steering_wheel.svg diff --git a/icons/tire.svg b/icons/garage/tire.svg similarity index 100% rename from icons/tire.svg rename to icons/garage/tire.svg diff --git a/icons/tool_usage.svg b/icons/garage/tool_usage.svg similarity index 100% rename from icons/tool_usage.svg rename to icons/garage/tool_usage.svg diff --git a/icons/wash.svg b/icons/garage/wash.svg similarity index 100% rename from icons/wash.svg rename to icons/garage/wash.svg diff --git a/icons/work_time.svg b/icons/garage/work_time.svg similarity index 100% rename from icons/work_time.svg rename to icons/garage/work_time.svg diff --git a/src/data_connection.py b/src/data_connection.py index cd39cdd..b724f80 100644 --- a/src/data_connection.py +++ b/src/data_connection.py @@ -6,34 +6,34 @@ from src.modules import auth_manager from fastapi import Depends #Fruit shop -melon = product_classes.Product(name="Meloen", price=2.0, barcode=1000 ,image_filename="melon") -pear = product_classes.Product(name="Peer", price=1.0, barcode=1001 ,image_filename="pear") -peach = product_classes.Product(name="Perzik", price=1.0, barcode=1002 ,image_filename="peach") -orange = product_classes.Product(name="Appelsien", price=1.0, barcode=1003 ,image_filename="orange") -apple = product_classes.Product(name="Appel", price=1.0, barcode=1004 ,image_filename="apple") -banana = product_classes.Product(name="Banana", price=1.0, barcode=1005 ,image_filename="banana") -cherry = product_classes.Product(name="Kers", price=1.0, barcode=1006 ,image_filename="cherry") -kiwi = product_classes.Product(name="Kiwi", price=1.0, barcode=1007 ,image_filename="kiwi") -grape = product_classes.Product(name="Druif", price=2.0, barcode=1008 ,image_filename="grape") -strawberry = product_classes.Product(name="Aardbei", price=1.0, barcode=1009 ,image_filename="strawberry") -pineapple = product_classes.Product(name="Ananas", price=2.0, barcode=1010 ,image_filename="pineapple") -blueberry = product_classes.Product(name="Bosbes", price=1.0, barcode=1011 ,image_filename="blueberry") -raspberry = product_classes.Product(name="Framboos", price=1.0, barcode=1012 ,image_filename="raspberry") -lemon = product_classes.Product(name="Citroen", price=1.0, barcode=1013 ,image_filename="lemon") +melon = product_classes.Product(name="Meloen", price=2.0, barcode=1000 ,image_filename="fruit/melon") +pear = product_classes.Product(name="Peer", price=1.0, barcode=1001 ,image_filename="fruit/pear") +peach = product_classes.Product(name="Perzik", price=1.0, barcode=1002 ,image_filename="fruit/peach") +orange = product_classes.Product(name="Appelsien", price=1.0, barcode=1003 ,image_filename="fruit/orange") +apple = product_classes.Product(name="Appel", price=1.0, barcode=1004 ,image_filename="fruit/apple") +banana = product_classes.Product(name="Banana", price=1.0, barcode=1005 ,image_filename="fruit/banana") +cherry = product_classes.Product(name="Kers", price=1.0, barcode=1006 ,image_filename="fruit/cherry") +kiwi = product_classes.Product(name="Kiwi", price=1.0, barcode=1007 ,image_filename="fruit/kiwi") +grape = product_classes.Product(name="Druif", price=2.0, barcode=1008 ,image_filename="fruit/grape") +strawberry = product_classes.Product(name="Aardbei", price=1.0, barcode=1009 ,image_filename="fruit/strawberry") +pineapple = product_classes.Product(name="Ananas", price=2.0, barcode=1010 ,image_filename="fruit/pineapple") +blueberry = product_classes.Product(name="Bosbes", price=1.0, barcode=1011 ,image_filename="fruit/blueberry") +raspberry = product_classes.Product(name="Framboos", price=1.0, barcode=1012 ,image_filename="fruit/raspberry") +lemon = product_classes.Product(name="Citroen", price=1.0, barcode=1013 ,image_filename="fruit/lemon") #Garage shop -tire = product_classes.Product(name="Wiel", price=5.0, barcode=1014 ,image_filename="tire") -wash = product_classes.Product(name="Wassen", price=3.0, barcode=1015 ,image_filename="wash") -oil = product_classes.Product(name="Olie", price=2.0, barcode=1016 ,image_filename="oil") -gas = product_classes.Product(name="Benzine", price=5.0, barcode=1017 ,image_filename="gas") -work_time = product_classes.Product(name="Werkuren", price=2.0, barcode=1018 ,image_filename="work_time") -tool_usage = product_classes.Product(name="Gereedschap gebruik", price=1.0, barcode=1019 ,image_filename="tool_usage") -steering_wheel = product_classes.Product(name="Stuurwiel", price=3.0, barcode=1020 ,image_filename="steering_wheel") -air_pump = product_classes.Product(name="Luchtpomp", price=1.0, barcode=1021 ,image_filename="air_pump") -bike_bell = product_classes.Product(name="Fietsbel", price=1.0, barcode=1022 ,image_filename="bike_bell") -light = product_classes.Product(name="Licht", price=2.0, barcode=1023 ,image_filename="light") -flashlight = product_classes.Product(name="Zaklamp", price=1.0, barcode=1024 ,image_filename="flashlight") -search = product_classes.Product(name="Zoeken", price=2.0, barcode=1025 ,image_filename="search") +tire = product_classes.Product(name="Wiel", price=5.0, barcode=1014 ,image_filename="garage/tire") +wash = product_classes.Product(name="Wassen", price=3.0, barcode=1015 ,image_filename="garage/wash") +oil = product_classes.Product(name="Olie", price=2.0, barcode=1016 ,image_filename="garage/oil") +gas = product_classes.Product(name="Benzine", price=5.0, barcode=1017 ,image_filename="garage/gas") +work_time = product_classes.Product(name="Werkuren", price=2.0, barcode=1018 ,image_filename="garage/work_time") +tool_usage = product_classes.Product(name="Gereedschap gebruik", price=1.0, barcode=1019 ,image_filename="garage/tool_usage") +steering_wheel = product_classes.Product(name="Stuurwiel", price=3.0, barcode=1020 ,image_filename="garage/steering_wheel") +air_pump = product_classes.Product(name="Luchtpomp", price=1.0, barcode=1021 ,image_filename="garage/air_pump") +bike_bell = product_classes.Product(name="Fietsbel", price=1.0, barcode=1022 ,image_filename="garage/bike_bell") +light = product_classes.Product(name="Licht", price=2.0, barcode=1023 ,image_filename="garage/light") +flashlight = product_classes.Product(name="Zaklamp", price=1.0, barcode=1024 ,image_filename="garage/flashlight") +search = product_classes.Product(name="Zoeken", price=2.0, barcode=1025 ,image_filename="garage/search") product_list = [melon,pear,peach,orange,apple,banana,cherry,kiwi,grape,strawberry,pineapple,blueberry,raspberry,lemon,tire,wash,oil,gas,work_time,tool_usage,steering_wheel,air_pump,bike_bell,light,flashlight,search]