Commit graph

11 commits

Author SHA1 Message Date
4fac13603f add 2 digit after the comma 2021-11-30 21:20:39 +01:00
b03d3cd5e3 Fix data retrieve for the CSV file 2021-11-30 15:03:55 +01:00
05dbe29bbc Fix bug not using the correct index 2021-11-30 10:53:58 +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
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
8e4a4dc014 allow forcing the creation of the global csv file 2021-11-29 21:01:00 +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
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