-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
74 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
seed.sql | ||
.idea/ | ||
.idea/ | ||
env/api.env | ||
env/db.env | ||
env/front.env |
Submodule api
updated
12 files
+5 −8 | .env.example | |
+2,363 −1,874 | pnpm-lock.yaml | |
+1 −0 | src/controllers/index.ts | |
+29 −0 | src/controllers/item/RemoveStock.ts | |
+3 −0 | src/controllers/item/index.ts | |
+0 −3 | src/controllers/order/create.ts | |
+0 −3 | src/controllers/order/dispatch.ts | |
+1 −34 | src/controllers/order/editStatus.ts | |
+5 −0 | src/models/item.ts | |
+5 −0 | src/models/supplement.ts | |
+43 −0 | src/utils/sendDiscordMessage.ts | |
+0 −16 | src/utils/sendSlackMessage.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
DB_HOST=database | ||
DB_PORT=3306 | ||
DB_NAME=bouffe | ||
DB_USERNAME=ua | ||
DB_PASSWORD=uttarena | ||
SALE_POINT_ID= | ||
ENTRY_SALE_POINT_ID= | ||
DEVICE_ID= | ||
APP_PORT=3001 | ||
APP_TOKEN_SECRET=randomString | ||
APP_TOKEN_EXPIRES=3 days | ||
APP_PIN_TV=123456 | ||
APP_PIN_SELLER=147258 | ||
APP_PIN_PIZZA=741852 | ||
APP_PIN_ADMIN=159753 | ||
SLACK_ENABLED=false | ||
SLACK_WEBHOOK_URL= | ||
DISCORD_API_PRIVATE_KEY=DiscordBotKey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
MARIADB_ROOT_PASSWORD=uttarena | ||
MARIADB_PASSWORD=uttarena | ||
MARIADB_USER=ua | ||
MARIADB_DATABASE=bouffe | ||
MARIADB_SKIP_TEST_DB=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PORT=8081 | ||
BROWSER=none |
Submodule front
updated
3 files
+2,450 −1,920 | pnpm-lock.yaml | |
+84 −73 | src/app/preparation/page.tsx | |
+4 −0 | src/utils/items.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,44 @@ | ||
@requires categories | ||
|
||
id,name,key,promokey,orgaPrice,price,available,categoryId | ||
1,Coca (canette),coca,canette,80,130,1,1 | ||
2,Coca Zero (canette),cocazero,canette,80,130,0,1 | ||
3,Ice Tea Pêche (canette),iceteapeche,canette,80,130,1,1 | ||
4,Orangina (canette),orangina,canette,80,130,1,1 | ||
5,Schweppes agrumes (canette),schweppesagrumes,canette,80,130,1,1 | ||
6,Oasis PCF (canette),oasispcf,canette,80,130,1,1 | ||
7,Tropico (canette),tropico,canette,80,130,1,1 | ||
8,Monster (canette),monsterenergy,,200,250,1,1 | ||
9,Café,coffee,,0,50,1,1 | ||
10,Thé,tea,,0,50,1,1 | ||
11,Eau (bouteille),waterbottle,,0,50,1,1 | ||
12,Bonbon Dragibus,dragibus,,70,100,1,2 | ||
13,Kinder Bueno,kinderbueno,barre,70,100,1,2 | ||
14,Crêpe jambon fromage,crepejambonfromage,crepejambonfromage,140,170,1,3 | ||
15,Crêpe complète (jambon fromage oeuf),crepecomplete,crepecomplete,170,200,1,3 | ||
16,Croque jambon fromage,croquejambonfromage,croque,140,200,1,4 | ||
17,Croque 3 fromages,croque3fromages,croque,140,200,1,4 | ||
18,Croque Tomate Mozza Pesto,croquetomatemozzapesto,croque,140,200,1,4 | ||
19,Croque Chèvre miel,croquechevremiel,croque,140,200,1,4 | ||
20,Pizza 4 fromages,pizza4fromages,pizza,350,500,1,5 | ||
21,Pizza Chèvre lardons,pizzachevrelardons,pizza,350,500,1,5 | ||
22,Pizza Royale,pizzaroyale,pizza,350,500,1,5 | ||
23,Pizza Chorizo,pizzachorizo,pizza,350,500,1,5 | ||
24,Hotdog classique,hotdog,,170,250,1,6 | ||
25,Hotdog Végé,hotdogvg,,170,250,1,6 | ||
26,Crêpe fraise,crepefraise,crepe,110,170,1,7 | ||
27,Crêpe miel,crepemiel,crepe,110,170,1,7 | ||
28,Crêpe sucre,crepesucre,crepe,110,170,1,7 | ||
29,Crêpe nutella,crepenutella,crepe,110,170,1,7 | ||
30,Croissant,croissant,,100,120,1,8 | ||
31,Pain au chocolat,painchoco,,100,120,1,8 | ||
32,Pins,pins,,100,200,1,9 | ||
33,T-shirt,tshirt,,1000,1500,1,9 | ||
34,Câble 5m,cable5m,,700,700,0,9 | ||
35,Câble 7m,cable7m,,1000,1000,1,9 | ||
36,Multiprise,multiprise,,500,500,1,9 | ||
37,Stickers UA,stickers,,0,100,1,9 | ||
38,Test 1€,test1,,0,0,0,9 | ||
39,Test 2€,test2,,0,0,0,9 | ||
id,name,key,promokey,orgaPrice,price,available,categoryId,quantity | ||
1,Coca (canette),coca,canette,80,130,1,1,100 | ||
2,Coca Zero (canette),cocazero,canette,80,130,0,1,100 | ||
3,Ice Tea Pêche (canette),iceteapeche,canette,80,130,1,1,100 | ||
4,Orangina (canette),orangina,canette,80,130,1,1,100 | ||
5,Schweppes agrumes (canette),schweppesagrumes,canette,80,130,1,1,100 | ||
6,Oasis PCF (canette),oasispcf,canette,80,130,1,1,100 | ||
7,Tropico (canette),tropico,canette,80,130,1,1,100 | ||
8,Monster (canette),monsterenergy,,200,250,1,1,100 | ||
9,Café,coffee,,0,50,1,1,100 | ||
10,Thé,tea,,0,50,1,1,100 | ||
11,Eau (bouteille),waterbottle,,0,50,1,1,100 | ||
12,Bonbon Dragibus,dragibus,,70,100,1,2,100 | ||
13,Kinder Bueno,kinderbueno,barre,70,100,1,2,100 | ||
14,Crêpe jambon fromage,crepejambonfromage,crepejambonfromage,140,170,1,3,0 | ||
15,Crêpe complète (jambon fromage oeuf),crepecomplete,crepecomplete,170,200,1,3,0 | ||
16,Croque jambon fromage,croquejambonfromage,croque,140,200,1,4,100 | ||
17,Croque 3 fromages,croque3fromages,croque,140,200,1,4,100 | ||
18,Croque Tomate Mozza Pesto,croquetomatemozzapesto,croque,140,200,1,4,100 | ||
19,Croque Chèvre miel,croquechevremiel,croque,140,200,1,4,100 | ||
20,Pizza 4 fromages,pizza4fromages,pizza,350,500,1,5,3 | ||
21,Pizza Chèvre lardons,pizzachevrelardons,pizza,350,500,1,5,5 | ||
22,Pizza Royale,pizzaroyale,pizza,350,500,1,5,100 | ||
23,Pizza Chorizo,pizzachorizo,pizza,350,500,1,5,100 | ||
24,Hotdog classique,hotdog,,170,250,1,6,100 | ||
25,Hotdog Végé,hotdogvg,,170,250,1,6,100 | ||
26,Crêpe fraise,crepefraise,crepe,110,170,1,7,0 | ||
27,Crêpe miel,crepemiel,crepe,110,170,1,7,0 | ||
28,Crêpe sucre,crepesucre,crepe,110,170,1,7,0 | ||
29,Crêpe nutella,crepenutella,crepe,110,170,1,7,0 | ||
30,Croissant,croissant,,100,120,1,8,100 | ||
31,Pain au chocolat,painchoco,,100,120,1,8,100 | ||
32,Pins,pins,,100,200,1,9,100 | ||
33,T-shirt,tshirt,,1000,1500,1,9,12 | ||
34,Câble 5m,cable5m,,700,700,0,9,12 | ||
35,Câble 7m,cable7m,,1000,1000,1,9,12 | ||
36,Multiprise,multiprise,,500,500,1,9,12 | ||
37,Stickers UA,stickers,,0,100,1,9,12 | ||
38,Test 1€,test1,,0,0,0,9,100 | ||
39,Test 2€,test2,,0,0,0,9,100 | ||
40,Galette base,galettebase,,0,0,0,9,200 | ||
41,Crepe base,crepebase,,0,0,0,9,200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters