11 Commits

Author SHA1 Message Date
4d1e7eb944 major: edit database and finish check_items
New:
- Removed the connection between tables 'receipt_item' and 'item'.
Instead the position on the receipt will be stored as a primary key
with the receipt.id.
- Uploading a receipt and checking items for invoice is now working.
- Uploading a receipt now redirects directly to the form where the
items on the receipt can be marked for invoice.
- Added pagination for candidates-page.

Refactoring:
- Added _rencer_field_errors.html for centralized error display.
- Added edeka_parser.py for better management of different parsers.

Known Bugs:
- Uploading a receipt without any fields results in an error.

Todo:
- Generate a general form if no fields are recognized on the uploaded
receipt.
- Create form where Admin can confirm receipt invoices.
- Display Notification for admin when users upload receipt.
- Display Notification for admin on new candidate.
2023-11-12 16:05:09 +01:00
6c0fa5a58b major: add receipt upload
You can now upload receipts and check which ones should be accounted.
Currently without function, needs to be implemented.
2023-08-06 22:25:08 +02:00
b21284f640 minor: add payment
Admins can now add payments for their users.
2023-05-28 09:07:54 +02:00
2e33f9b5a8 major: improvements and functions
Features:
- Added page for an overview of establishments with a possibility to
request a membership.
- Added page for admins of an establishment to accept or deny those
candidates. This is currently only usable via URL, the navigation to
this site is not yet implemented in the HTML files.
- Added page to add new establishments by providing a name.

Improvements:
- Better folder structure.
- The establishment-specific overview can now be viewed with another
URL, as well as some other pages.

Bugfixes:
- Seriously I don't know anymore what I fixed and what not. But it works
just better now :)

Future:
- Angular has been added to separate the Flask-Backend with the
frontend. Angular is currently not connected to the backend, but this
will change in the future.
2023-03-19 12:31:10 +01:00
22e45857ff minor changes and bugfixes 2022-07-25 16:01:53 +02:00
f713564238 major: rewrite database connections 2022-02-10 16:15:02 +01:00
e73cd46611 major: new repo structure
Moved the client and server in different repositories.
2022-02-03 09:59:48 +01:00
fd75f419e8 patch: better overview for datas 2022-01-17 20:19:19 +01:00
821b8161df fix: logs working correctly and previous_scan bug
For debug purposes, configs and logs are now stored using semi-absolute
paths, so you can start the script from anywhere. Also fixed a weird bug
where items in the scans.json began to multiply every time items have
been scanned.
2021-12-20 11:58:45 +01:00
3cabbe22db feat: initial functionality 2021-11-26 10:34:42 +01:00
fd3dc79f76
Initial commit 2021-11-02 13:57:51 +01:00