Commit graph

67 commits

Author SHA1 Message Date
929499120f remove old stat gui 2021-11-30 13:52:58 +01:00
0a28b9b4d7 Adding TODOs 2021-11-30 10:54:07 +01:00
04774ec968 update comments 2021-11-30 10:46:12 +01:00
f203fb6a24 Modifications:
- Add a function who return all the date for today and the last week
- Use the new function when creating the CSV
- global format for the date
- Addings TODOs
- Auto-Update the CSV file when date in it are too old (update values in it too)
2021-11-30 00:02:57 +01:00
64202b1332 Export the current sell state of a cashier is now (almost) possible 2021-11-29 22:10:03 +01:00
34ce629429 add error name to exceptions 2021-11-29 20:33:30 +01:00
eed4f89cfe update comma to vertical bar 2021-11-29 20:30:32 +01:00
fa1954138c update functions name 2021-11-29 20:28:23 +01:00
2efecadfc1 Modifications:
- Add dependencie `csv` in documentation
- Add quantity selection when removing something from stock (now you can delete an item, but set it's quantity to 0)
- Cleanup function names (`__affichagePanier`)
- Disable the button who confirm a receipt when nothing is in the basket
- Create the CSV file when starting the app
- Add a function who update dates in the global csv file
2021-11-29 20:24:27 +01:00
4c6f8706c8 change csv.py to stats.py 2021-11-29 14:11:25 +01:00
00cefc324e Modifications:
- Clean-up some comments
- Add total amount of items when buyed multiple times at once in the receipt (so only when > 1)
- Add button to export the total amount of sales of the day (not implemented yet)
2021-11-29 13:52:24 +01:00
0a9b0c4c02 Reset basket when starting the window 2021-11-29 13:25:44 +01:00
07c2d7e3ff Modifications:
- Increase window size of the cashier
- better layout of the items in the receipt
- add the plural to the words only if necessary
2021-11-29 13:23:45 +01:00
65b98be530 add price to the receipt 2021-11-29 13:12:38 +01:00
dee92816c6 capitalize item's name in the receipt 2021-11-29 13:09:42 +01:00
7242fc9ba4 bold plus and minus button 2021-11-29 13:07:59 +01:00
799339b4c5 Add little bottom-padding for the minus button 2021-11-29 13:07:33 +01:00
513a0599e0 Modifications:
- Row/column seperations in the stock table (better clarity)
- Fixed a bug that showed artifacts of the first page when going to the last page after adding a new item
- Adding the basket to the right of the screen
- Added buttons to add and remove items from the cart in the stock table
- Changing the dimensions and placement of certain elements to air out the interface
2021-11-29 13:02:52 +01:00
8ba8e91979 update variable name 2021-11-29 09:12:51 +01:00
f14fb257fc increases the width of the screen 2021-11-29 00:38:45 +01:00
92022ca078 adding app name to all window's title 2021-11-29 00:36:36 +01:00
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