Commit graph

211 commits

Author SHA1 Message Date
2823cb504b update docs 2021-11-30 09:56:10 +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
9928a0dfab change double quote to simple quote when string is a simple char 2021-11-29 22:08:57 +01:00
8e4a4dc014 allow forcing the creation of the global csv file 2021-11-29 21:01:00 +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
565f5166c0 Ignore CSV file 2021-11-29 14:41:28 +01:00
11e72e904d update comments 2021-11-29 14:37:56 +01:00
357b5027e4 update docs 2021-11-29 14:30:41 +01:00
5172929c7b Added the structure of the functions that will be used to store and export statistics 2021-11-29 14:21:23 +01:00
4c6f8706c8 change csv.py to stats.py 2021-11-29 14:11:25 +01:00
fc2f304d61 Add stock.py and csv.py to the docs 2021-11-29 14:03:26 +01:00
93da289196 update docs 2021-11-29 13:56:00 +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
d0f386821d update docs 2021-11-29 13:12:30 +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
64e6789ae2 update docs 2021-11-29 11:33:57 +01:00
e3785db029 update docs 2021-11-29 09:19:32 +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
a43315ed2d Add some subsection 2021-11-29 00:27:16 +01:00
b43a2ae17f fix typo 2021-11-29 00:18:06 +01:00
429388f713 update docs 2021-11-28 23:23:06 +01:00
897c4dd9d6 Adding little frame for the sales receipt and fix some typos 2021-11-28 14:36:28 +01:00
b7f9c66309 update docs 2021-11-28 12:53:07 +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
0d752f0c9b Remove duplicate 2021-11-28 12:02:47 +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
313aebc040 fix typo 2021-11-28 11:46:12 +01:00
04d886e54f adding filter in stock display 2021-11-26 13:18:12 +01:00
8e1fcad80c fix typo 2021-11-26 13:18:04 +01:00
c2fcf4fd2e update docs 2021-11-26 13:17:40 +01:00
83151711eb sticky next and last buttons for better display 2021-11-26 10:57:37 +01:00
109cd6b052 Adding LFS disclaimer 2021-11-26 09:33:07 +01:00