Commit graph

190 commits

Author SHA1 Message Date
9cf7b46f8f Add appname to all windows 2021-12-01 15:14:23 +01:00
6ec78fabb0 Prevents to resize children windows 2021-12-01 15:04:33 +01:00
f108645047 Fix potential bug when showing histogram 2021-12-01 15:02:22 +01:00
6f665d8b7c Reduce size of € in histogram 2021-12-01 14:59:40 +01:00
c6e71900a0 update PDF with latest code changes 2021-11-30 22:30:17 +01:00
b0e3737f64 add spaces between the bars of the histogram 2021-11-30 22:28:46 +01:00
2edd7511bd addition of missing types and comments of functions 2021-11-30 22:25:12 +01:00
33f6b4d47b update link for the documentation 2021-11-30 22:15:23 +01:00
315bc8635e reverse manager and disconnect button in cashier interface 2021-11-30 22:13:40 +01:00
4627dec805 Add the documentation PDF 2021-11-30 21:46:40 +01:00
37f4b91238 Adding button to disconnect itself in cashier GUI 2021-11-30 21:39:56 +01:00
71ba3285c4 Remove Debug manager access 2021-11-30 21:23:00 +01:00
40c0d7111b update docs, all the thing in the list are now checked 😄 2021-11-30 21:22:17 +01:00
4fac13603f add 2 digit after the comma 2021-11-30 21:20:39 +01:00
20f36785ba ignore ID 2021-11-30 21:20:18 +01:00
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