Commit graph

175 commits

Author SHA1 Message Date
b982ba45aa Adding histogram 2021-11-30 21:06:29 +01:00
204cb40614 get data from CSV file to build the histogram 2021-11-30 15:04:18 +01:00
b03d3cd5e3 Fix data retrieve for the CSV file 2021-11-30 15:03:55 +01:00
4476bf1ed1 return id too when fetching user data 2021-11-30 15:02:52 +01:00
c394de952b Use Canvas instead of simple Label when no data is show 2021-11-30 14:24:55 +01:00
e1fc98b282 update docs, cashier done 2021-11-30 13:54:14 +01:00
929499120f remove old stat gui 2021-11-30 13:52:58 +01:00
c92d526d9c update docs 2021-11-30 13:49:01 +01:00
a95eef3459 Removing date and stats_journaliere from the db 2021-11-30 10:54:26 +01:00
0a28b9b4d7 Adding TODOs 2021-11-30 10:54:07 +01:00
05dbe29bbc Fix bug not using the correct index 2021-11-30 10:53:58 +01:00
04774ec968 update comments 2021-11-30 10:46:12 +01:00
816b8d7057 Update comments 2021-11-30 10:45:25 +01:00
d6c290b30d Modifications:
- Remove datetime dependencie
- Raise Error when there is an logic error when updating the csv file
- Fix bug when there is 2 date to update in CSV file
- Append 0 instead of nothing when updating the CSV file
- Update comments
- 🎉 Update the CSV file with the new price when validating a receipt
- `Stats` no longer depend on `Utilisateurs`
2021-11-30 10:38:03 +01:00
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