Commit graph

46 commits

Author SHA1 Message Date
897c4dd9d6 Adding little frame for the sales receipt and fix some typos 2021-11-28 14:36:28 +01:00
46a6308d0e fix typo 2021-11-28 12:46:57 +01:00
765ca1bd34 Only show the default account at the creation of the db 2021-11-28 12:46:41 +01:00
4d1a49bee8 Added choice if you want to create a default database or not 2021-11-28 12:43:05 +01:00
a57ec51965 Change type variable to typeElement name 2021-11-28 12:33:57 +01:00
6c3c339615 Add a button to select easily an image 2021-11-28 12:28:03 +01:00
9931e9a2e9 Better imports 2021-11-28 12:06:41 +01:00
7288e2e0dc Best detection on the name validation 2021-11-28 12:03:15 +01:00
79840a57f2 Modifications:
- Standardization of imports
- Adding padding in the table of stock
- Added the possibility to add stock
- Cleanup some code
2021-11-28 11:48:31 +01:00
04d886e54f adding filter in stock display 2021-11-26 13:18:12 +01:00
83151711eb sticky next and last buttons for better display 2021-11-26 10:57:37 +01:00
74d3553350 better comments 2021-11-26 00:26:59 +01:00
ed40aea6e3 Reduce size of the cashier window 2021-11-25 23:29:56 +01:00
b16d1c13b9 Modifications:
- Fix image display
- Fix aligment of LabelFrame
- Better text in table
2021-11-25 23:21:36 +01:00
5482c0d761 Adding stock display 2021-11-25 18:01:05 +01:00
a278b6bada Adding stock table in the db 2021-11-24 17:53:17 +01:00
a92b05c03d List of modifications:
- Fix typos
-  Adding redirection to cashier GUI in manager GUI
- Adding redirection to manager GUI in cashier GUI when user is a manager
2021-11-24 16:47:54 +01:00
334d2eb7f7 Adding 2 category in the Cashier GUI for :
- Stock
- Sales receipt
2021-11-24 16:12:35 +01:00
c1448683fe Add a verification to prevents cashier access to manager GUI 2021-11-23 14:41:11 +01:00
5a6bf1bf19 finalizing manager gui :
- adding buttons and label
2021-11-21 12:40:03 +01:00
2c8189d651 adding user removal option 2021-11-21 11:52:35 +01:00
b1f1a18f84 remove window dimension so the content take all the window space 2021-11-21 11:03:38 +01:00
b5a5bee18f fix filter 2021-11-21 02:38:01 +01:00
1bdba6f7a7 Adding ability to add a casher to the database 2021-11-21 02:29:24 +01:00
607ced580e starting the window who deliver who add the ability to add a user to the db 2021-11-20 19:47:13 +01:00
865927e58e adding user job in the list for better clarity 2021-11-20 18:22:04 +01:00
f009b1b962 Adding filter for the list 2021-11-20 18:09:34 +01:00
6a48447c4a hide pass 2021-11-20 12:02:48 +01:00
540ea0e067 adding user info in child window 2021-11-20 11:39:16 +01:00
2bf0b6accb change import order 2021-11-20 02:41:38 +01:00
0bc7ec7433 - Fixes some errors when switching between GUIs
- Change Manager GUI dimensions
- Add button for adding an user (not implemented yet)
- Add button for removing an user (not implemented yet)
- Add the list of all the users, adding the scrollbar connected to it and print data on the double-clicked user
2021-11-20 02:40:02 +01:00
32fe113e0a use dict syntax instead of exhausting syntax 2021-11-20 00:57:56 +01:00
b69764f032 prevent resizing the window 2021-11-20 00:11:59 +01:00
bca747171d - use __init__ method to init the window and a frame instead of doing it in the demarrer method
- adding login to the correct gui according to the user
- add method for the gui of manager and cashier
2021-11-19 23:57:11 +01:00
cc7d013e77 Adding __init__ who add some variables, useless but make things more clear 2021-11-19 21:37:48 +01:00
dcbb9c7c03 Tkinter only import needed widgets and constants 2021-11-19 20:15:53 +01:00
8c9038558d change it comment 2021-11-19 20:14:41 +01:00
5fbd098ab1 use parent variable for the window geometry 2021-11-19 20:13:53 +01:00
b597409846 integrate dimensionsFenetre to main Class 2021-11-19 20:12:06 +01:00
c57f0022ef change class comment 2021-11-19 18:52:58 +01:00
15bef8119a Finalize Login page 2021-11-19 17:14:15 +01:00
9d85e5adc6 Check if password respect the app policy 2021-11-19 11:41:37 +01:00
8dcb4755fb remove int cast and use correct operator 2021-11-19 10:40:45 +01:00
cb1aeb6183 Adding the Frame modularity 2021-11-19 00:47:01 +01:00
569823350a Ajout boutton pour afficher et cacher le mot de passe 2021-11-19 00:08:48 +01:00
883fef5b87 Adding main file (only login works a little bit) 2021-11-18 20:41:58 +01:00