Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #11

Open
wants to merge 53 commits into
base: main
Choose a base branch
from
Open

Dev #11

wants to merge 53 commits into from

Conversation

stefvanhouten
Copy link
Collaborator

No description provided.

* Remove files that have been moved or merged together.

* Update routing to use PageMaker inheritance.

* Basepages PageMaker only handles default behaviour now.

* Create 'app' that handles client related tasks

* Create common folder for project-wide used content

* Create 'invoice' app that handles invoice related tasks

* Create User 'app' that is responsible for authentication related tasks

* Create Mollie 'app' that is responsible for mollie transactions

* Create settings 'app' that is responsible for config editing

* Update tests to use new imports

* Move project structure down by removing base folder

* Prevent using a reference type as default value parameter
* Create app structure for pickups

* Use sku to identify products instead of names

* Use price ranges to automaticly fill in product price

* Format file. Make price and vat readonly

* Update .pre-commit-config.yaml

* Update urls.py

* Create .gunicorn.sh

* Update structure for invoices  (#7)

* Move serve

* Move invoices templates

* Add custom loggedin decorator to redirect

* direct parts/error and parts/404

* Use custom loggedin decorator

* Delete serve.py

* Move templates for clients into client app

* Move mollie

* Formatting and settings moved

* Add form for products.

* Add form support

* Working on dynamic wtform. This allows product validation

* Fix inline loading the correct template

* Allow wtform to validate and generate the forms.

* Wtform product validation

* Add special error page for warehouse exceptions

* Use the WarehouseApi helper class to access the warehouse api

* Add new decorator to handle api exceptions

* Move decorator from common to invoice app.

* Rename name field to sku.

* Remove unused helpers. Add new warehouse api helper for api access

* Use warehouse api helper to clean up code.

* Update model.py

* Use sku field instead of name_field

* Fix import

* Update schemas.py

* Fix issue with duplicate urls

* Display warehouse api error message on status conflict

* Split base functionality from WarehouseAPi helper into base class

* No longer need duplicate schema

* Renamed warehouse endpoints

* Remove unused import

* Refactor duplicate code

* Add docstrings

* Use invoice method to set invoice to paid.

* Formatting

* BaseApiHelper now takes context attribute for dependency injection

* Create tests for WarehouseApihelper

* Move tests from test_pages into test_helpers as the name is misleading

* Update test_helpers.py

* Add extra record to fixture

* Remove unused helper

* Move test to another testclass

* Remove unused import

* Update requirements.txt

* Update schema.sql

* Update requirements.txt

* Add more unittests. Use secret token for mollie requests (#8)

* Move mollie tests into seperate folder

* Working on Mocking the mollie API.

* Update mock model

* Add more unittests for mollie gateway

* Add descriptive name for checkout url

* Add logger for mollie mixin. Split logic into smaller chunk

* Split SetState decision logic into function

* Add unittests

* Add methods needed for model mocking

* Add log messages for important mollie events.

* Add log message for outgoing payment request

* Handle status Expired

* Move fixtures to top of the file

* Remove unneeded pages and handle displaying order status on a single page.

* Generate a secret for the mollie url

* Only allow users to see the order status page when the redirect secret is correct.

* Now extracts the secret from redirect/notification

* Update tests to use a secret for mollie

* Update schema.sql

* Rename mollie methods to conform snake_casing

* Update test_mollie.py

* Link the correct parts folder

* Create forms and model for pickup app

* Setup pages for pickup registration

* Add logic for deleting an appointment

* Add pickup routes to uweb3 routing

* Check for appointments, if no results show message.

* Move the cancel/paid forms into the invoice file.

* Add route to request an appointment

* Page for appointment

* Add validation on the model for appointment and pickup creation

* Add function to populate pickup slot form

* Update pickup.py

* Display invoices for a client on the client page.

* Add extra exceptions

* Split CRUD operations into different methods.

* Update templates for appointment management

* add enum for appointment status. Add property to list all appointments for a pickup.

* Add function to display time only

* Add route to mark an appointment as complete

* Update urls.py

* Remove unused file

* Add model class for adding details to an appointment

* Allow adding invoices to a pickup to know what is being picked up.

* Make invoice.Products() a propperty called invoice.products.

* Also add a more detailed invoice products table to the invoice inspection page

* Update schema.sql

* Fix issue with tuples in query

* Add description to appointment view

* Formatting

* Required fields now have a border around them

* Remove unused import

* Add system tests to validate pages are working and page access is done correctly

* Add system test for pickup page

* Add test suite for client app
* Create app structure for pickups

* Use sku to identify products instead of names

* Use price ranges to automaticly fill in product price

* Format file. Make price and vat readonly

* Update .pre-commit-config.yaml

* Update urls.py

* Create .gunicorn.sh

* Update structure for invoices  (#7)

* Move serve

* Move invoices templates

* Add custom loggedin decorator to redirect

* direct parts/error and parts/404

* Use custom loggedin decorator

* Delete serve.py

* Move templates for clients into client app

* Move mollie

* Formatting and settings moved

* Add form for products.

* Add form support

* Working on dynamic wtform. This allows product validation

* Fix inline loading the correct template

* Allow wtform to validate and generate the forms.

* Wtform product validation

* Add special error page for warehouse exceptions

* Use the WarehouseApi helper class to access the warehouse api

* Add new decorator to handle api exceptions

* Move decorator from common to invoice app.

* Rename name field to sku.

* Remove unused helpers. Add new warehouse api helper for api access

* Use warehouse api helper to clean up code.

* Update model.py

* Use sku field instead of name_field

* Fix import

* Update schemas.py

* Fix issue with duplicate urls

* Display warehouse api error message on status conflict

* Split base functionality from WarehouseAPi helper into base class

* No longer need duplicate schema

* Renamed warehouse endpoints

* Remove unused import

* Refactor duplicate code

* Add docstrings

* Use invoice method to set invoice to paid.

* Formatting

* BaseApiHelper now takes context attribute for dependency injection

* Create tests for WarehouseApihelper

* Move tests from test_pages into test_helpers as the name is misleading

* Update test_helpers.py

* Add extra record to fixture

* Remove unused helper

* Move test to another testclass

* Remove unused import

* Update requirements.txt

* Update schema.sql

* Update requirements.txt

* Add more unittests. Use secret token for mollie requests (#8)

* Move mollie tests into seperate folder

* Working on Mocking the mollie API.

* Update mock model

* Add more unittests for mollie gateway

* Add descriptive name for checkout url

* Add logger for mollie mixin. Split logic into smaller chunk

* Split SetState decision logic into function

* Add unittests

* Add methods needed for model mocking

* Add log messages for important mollie events.

* Add log message for outgoing payment request

* Handle status Expired

* Move fixtures to top of the file

* Remove unneeded pages and handle displaying order status on a single page.

* Generate a secret for the mollie url

* Only allow users to see the order status page when the redirect secret is correct.

* Now extracts the secret from redirect/notification

* Update tests to use a secret for mollie

* Update schema.sql

* Rename mollie methods to conform snake_casing

* Update test_mollie.py

* Link the correct parts folder

* Create forms and model for pickup app

* Setup pages for pickup registration

* Add logic for deleting an appointment

* Add pickup routes to uweb3 routing

* Check for appointments, if no results show message.

* Move the cancel/paid forms into the invoice file.

* Add route to request an appointment

* Page for appointment

* Add validation on the model for appointment and pickup creation

* Add function to populate pickup slot form

* Update pickup.py

* Display invoices for a client on the client page.

* Add extra exceptions

* Split CRUD operations into different methods.

* Update templates for appointment management

* add enum for appointment status. Add property to list all appointments for a pickup.

* Add function to display time only

* Add route to mark an appointment as complete

* Update urls.py

* Remove unused file

* Add model class for adding details to an appointment

* Allow adding invoices to a pickup to know what is being picked up.

* Make invoice.Products() a propperty called invoice.products.

* Also add a more detailed invoice products table to the invoice inspection page

* Update schema.sql

* Fix issue with tuples in query

* Add description to appointment view

* Formatting

* Required fields now have a border around them

* Remove unused import

* Add system tests to validate pages are working and page access is done correctly

* Add system test for pickup page

* Add test suite for client app
* Add helper function to determine next invoice sequence number based on supplied pattern. Add support for invoice prefixing

* Determine if an invoice is a pro-forma based on pro_forma attribute

* Add tests to ensure the pf sequence number is done correctly

* Make invoiceprefix optional

* Remove isProForma template func

* No longer list invoices on sequence number

* Invoiceprefix is no longer required

* Update helper to apply correct status to invoice

* Drop trigger that guards a pro-forma starts with PF. Invoice sequenceNumber can now be 25 chars.  Add flag to determine if an invoice is a pro_forma.

* Now checks for pro_forma is null or pro_forma is false

* Update unittests with latest changes

* Update fixtures.py

* Create decorators.py

* Use mollie decorators

* Pro forma invoices now also have a prefix if present.
commit feff4cb
Author: stefvanhouten <[email protected]>
Date:   Wed Nov 30 09:28:17 2022 +0100

    Remove system_tests as they did not do anything useful and could not be done properly. Fix broken tests.

commit 3ebe508
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 16:23:37 2022 +0100

    Redirect client to correct handler

commit 093ebab
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 16:21:31 2022 +0100

    Fix issues with vat number validation when client changes type.

commit 77240b2
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 15:39:52 2022 +0100

    update sku to product_sku

commit 36e6dc9
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 14:54:49 2022 +0100

    Remove the vat_rules section

commit bcfc85a
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 14:54:04 2022 +0100

    Remove VatRules model object. Add get_vatrule  and explain_vatrule as property on Client record.

commit ae4d81d
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 14:52:00 2022 +0100

    Update schema for new changes.

commit d298d51
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 12:15:44 2022 +0100

    Vies validation is now a service, and is moved to helper file.

commit 1951d21
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 12:15:07 2022 +0100

    Formatting

commit 53ff8da
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 12:14:40 2022 +0100

    Make sure to pass page title

commit 4a92de3
Author: stefvanhouten <[email protected]>
Date:   Tue Nov 29 12:14:31 2022 +0100

    Add type hint

commit 5ad8270
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 24 14:52:20 2022 +0200

    Delete config.ini

commit 2e04ab3
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 24 14:51:24 2022 +0200

    Add missing decorators for loggedin and NotExistsErrorCatcher

commit f7a694b
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 24 13:00:21 2022 +0200

    Add copy icon to mollie transactions.

commit f49a8c5
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 24 13:00:01 2022 +0200

    Make telephone and email optional.

commit c0657b2
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 24 10:30:13 2022 +0200

    Update .gitignore

commit 0cce723
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 24 10:28:06 2022 +0200

    Add vat_rules for company/personal. Creating an invoice now loads in the correct rule based on client.

commit c0dcb98
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 21 12:05:00 2022 +0200

    Display the current stock for given product

commit ae6f910
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 21 11:59:55 2022 +0200

    Update invoice product selection.

commit f10ef1a
Author: stefvanhouten <[email protected]>
Date:   Wed Oct 19 14:15:19 2022 +0200

    Remove definers from schema.sql

commit 5637b7d
Author: stefvanhouten <[email protected]>
Date:   Wed Oct 19 14:09:05 2022 +0200

    Update titles

commit 4713490
Author: stefvanhouten <[email protected]>
Date:   Wed Oct 19 14:05:41 2022 +0200

    Fix issue where only form data was passed.

commit 493c83f
Author: stefvanhouten <[email protected]>
Date:   Wed Oct 19 14:01:03 2022 +0200

    Update warehouse_error.html

commit ac275c8
Author: stefvanhouten <[email protected]>
Date:   Wed Oct 19 13:59:04 2022 +0200

    Check if field is set, not if field exists.

commit a9d4234
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 15:35:06 2022 +0200

    Validate VIES on client update when the VAT_NUMBER has changes.

commit b089355
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 15:21:45 2022 +0200

    Update requirements.txt

commit 4c0d42d
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 15:21:00 2022 +0200

    Replace [header] and [footer] with externalinline.

commit f1a75db
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 15:03:44 2022 +0200

    Update error loggin for VIES.

commit 85c9f4f
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 14:58:02 2022 +0200

    Add message to page when running in dev mode.

commit 64e47af
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 14:57:15 2022 +0200

    Add debug logging messages.

commit c7af41f
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 14:56:33 2022 +0200

    Set loguru logger to debug mode when running in dev mode.

commit bd1f569
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 14:09:57 2022 +0200

    Update requirements.txt

commit 072b446
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 14:07:22 2022 +0200

    Add favicons

commit 6cf6a34
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 13:54:22 2022 +0200

    All headings are now h2 instead of h1. Improve page structure.

commit 5447441
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 13:51:58 2022 +0200

    Move sections outside main tag.

commit 352cd5b
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 13:49:19 2022 +0200

    Update requirements.

commit 192836a
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 13:48:38 2022 +0200

    Add pyvies lib. Now checks VAT number before creating a client that is registred as company.

commit adf21d8
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 13:48:12 2022 +0200

    Add helper to map warehouse product to form.

commit d737ab1
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 12:55:05 2022 +0200

    Update requirements.txt

commit f38d8cd
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 12:16:11 2022 +0200

    Remove classes that are moved to uweb3plugins repo.

commit c50ddb1
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 11:45:21 2022 +0200

    Remove unused key from view.

commit 515f865
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 11:45:14 2022 +0200

    Add default sort

commit 5078f53
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 11:34:39 2022 +0200

    Invoices and Client invoice tables now use a sortable/searchable table.

commit f572ce8
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 10:26:03 2022 +0200

    Add sortable and searchable table for clients page.

commit 1463413
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 10:12:07 2022 +0200

    Use mixin class for searchable table.

commit 969fd91
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 10:11:55 2022 +0200

    set default page size

commit 3cb466f
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 08:43:21 2022 +0200

    Import restricteddebuggingmixin from uweb3plugins

commit 4058a3e
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 08:43:08 2022 +0200

    Update requirements.txt

commit 3eae411
Author: stefvanhouten <[email protected]>
Date:   Tue Oct 18 08:43:04 2022 +0200

    Update README.md

commit 7519992
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 13:03:39 2022 +0200

    Add vat_number for client when purchase is done as company

commit 0009cb6
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 12:20:07 2022 +0200

    Display clients from newest to oldest. Also fix this for invoices on client details page.

commit e6cd59c
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 12:18:18 2022 +0200

    Fix issue where <script/> prevented the footer from loading.

commit d7d7f9d
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 12:14:41 2022 +0200

    Client can now be either a company or an individual.

commit 10e71a7
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 12:14:06 2022 +0200

    Create 000_000_001_add_clientType.sql

commit 237cdc5
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 10:44:09 2022 +0200

    Price and VAT are now readonly fields.

commit bf04ab8
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 10:41:27 2022 +0200

    Add mixin class for requests to set default timeout and automatic retry for specific methods.

commit 53b58ee
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 10:30:32 2022 +0200

    Formatting

commit 5f37ca2
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 10:30:24 2022 +0200

    Move send_mail above mollie_payment_request. Add placeholders and update descriptions.

commit 3988ede
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 10:25:40 2022 +0200

    Formatting

commit 97b09eb
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 10:00:19 2022 +0200

    Add PageMakers folder

commit 741a8df
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:53:11 2022 +0200

    Move payments outside invoice pagemaker

commit 24b57a8
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:47:26 2022 +0200

    Add view for mt940 parser.

commit e7e0125
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:44:33 2022 +0200

    Create views for invoice details and payments.

commit ab5b94f
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:35:47 2022 +0200

    Display invoice sequencenumber below the title.

commit a81e8a2
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:35:16 2022 +0200

    Merge files together

commit 8f70677
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:34:46 2022 +0200

    Invoice.overdue is now a bool

commit 3c3568f
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:34:32 2022 +0200

     Remove mailconfig settings

commit ca4831f
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:34:19 2022 +0200

    Remove mailconfig settings

commit 87d69cc
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:34:07 2022 +0200

    Fix missing colspan issue

commit b94eaa1
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:33:51 2022 +0200

    Add custom colors

commit f87a96e
Author: stefvanhouten <[email protected]>
Date:   Mon Oct 17 09:33:43 2022 +0200

    Remove config for mailsender, this is setup by default on VMS

commit 7d4fffb
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:14:39 2022 +0200

    Replace form retrieval function with servicebuilder.

commit a568f10
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:08:49 2022 +0200

    Update invoices.py

commit c6b2877
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:08:32 2022 +0200

    Create a service builder for invoice form

commit a4f22e3
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:08:21 2022 +0200

    Create views.py

commit 630c04b
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:08:10 2022 +0200

    Add breadcrumbs to invoices page

commit ec1aba2
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:07:56 2022 +0200

    Add styling for breadcrumbs

commit 205ccd2
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:07:44 2022 +0200

    Delete parts

commit 440e7d4
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:07:42 2022 +0200

    Update model to return client_ids as a string.

commit 69bbac2
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:06:49 2022 +0200

    Add breadcrumb to client page

commit d5a8cbd
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:06:37 2022 +0200

    Add another client view

commit 9bba2c7
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:06:17 2022 +0200

    Validate dutch zipcodes.

commit 28bd43c
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 16:05:53 2022 +0200

    Move unused client API methods out pagemaker.

commit 438b547
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 15:12:11 2022 +0200

    Use wtforms to tidy up client creation.

commit 771fd7b
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 15:11:49 2022 +0200

    Add support for Views.

commit 7e794a6
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 15:11:32 2022 +0200

    Add title to tab

commit 82aab57
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 15:11:13 2022 +0200

    Add type hint

commit 1d3a4c9
Author: stefvanhouten <[email protected]>
Date:   Fri Oct 14 14:09:26 2022 +0200

    Update pickup.py

commit 9e50a81
Author: Stef <[email protected]>
Date:   Fri Sep 23 10:24:02 2022 +0200

    Use pagemaker.logger instead of uweb3.logging.

commit 0e44aa2
Author: Stef <[email protected]>
Date:   Fri Sep 23 10:23:53 2022 +0200

    Rename should_log to log_error to be consistent with warehouse.

commit 4c164f8
Author: Stef <[email protected]>
Date:   Fri Sep 23 10:15:58 2022 +0200

    Create DebuggingMixin class that handles displaying generic error message or stacktrace to authorized users.

commit e2a2b14
Author: Stef <[email protected]>
Date:   Fri Sep 23 08:47:24 2022 +0200

    Add user and password to warehouse settings

commit ba1311c
Author: Stef <[email protected]>
Date:   Wed Sep 21 13:20:03 2022 +0200

    Actually use the new mailconfig to send mail via the mailserver.

commit ad4c4c2
Author: Stef <[email protected]>
Date:   Wed Sep 21 10:29:25 2022 +0200

    Ensure that all settings are saved as string.

commit 5c10da5
Author: Stef <[email protected]>
Date:   Wed Sep 21 10:21:43 2022 +0200

    Remove invoices property from Client model object to get rid of circular import

    Invoice now has a FromClient method that returns the list of invoices.

commit f78584f
Author: Stef <[email protected]>
Date:   Wed Sep 21 09:37:42 2022 +0200

    Update linter settings and run fixes.

commit ec7af85
Author: Stef <[email protected]>
Date:   Wed Sep 21 09:34:45 2022 +0200

    Update .flake8

commit adee169
Author: Stef <[email protected]>
Date:   Wed Sep 21 09:33:43 2022 +0200

    Update settings page to use wtforms. Add section for mailconfig.

commit b7049a3
Author: Stef <[email protected]>
Date:   Wed Sep 21 09:33:16 2022 +0200

    Add support for external mailserver

commit 3d53a78
Author: Stef <[email protected]>
Date:   Wed Sep 21 09:31:47 2022 +0200

    Add BaseForm that can render wtforms. Add factory and servicebuilder for form registration

commit cc2fae9
Author: Stef <[email protected]>
Date:   Mon Sep 19 09:50:05 2022 +0200

    Add optional invoiceprefix

commit 039b42d
Author: Stef <[email protected]>
Date:   Mon Sep 19 09:49:53 2022 +0200

    Update schema.sql

commit 70a232e
Author: Stef <[email protected]>
Date:   Fri Sep 16 13:37:22 2022 +0200

    Add ConfirmReservation method that contacts the warehouse.

commit 3c97307
Author: Stef <[email protected]>
Date:   Fri Sep 16 13:36:57 2022 +0200

    Formatting

commit 7c5d3aa
Author: Stef <[email protected]>
Date:   Fri Sep 16 13:36:46 2022 +0200

    centround function now uses try catch to prevent falsy checks on decimal 0.

commit ecccf18
Author: Stef <[email protected]>
Date:   Fri Sep 16 13:35:33 2022 +0200

    Remove debugging exception

commit 8b2584e
Author: Stef <[email protected]>
Date:   Fri Sep 16 13:35:17 2022 +0200

    Remove tests for helper functions that no longer exist.

commit 39e5485
Author: Stef <[email protected]>
Date:   Mon Sep 12 10:32:24 2022 +0200

    Remove unused code.

commit 79fa769
Author: Stef <[email protected]>
Date:   Mon Sep 12 10:26:47 2022 +0200

    Update fixtures.py

commit 932aee4
Author: Stef <[email protected]>
Date:   Mon Sep 12 10:26:43 2022 +0200

    Rename 'sku' to 'product_sku'

commit 80089d2
Author: Stef <[email protected]>
Date:   Mon Sep 12 10:26:10 2022 +0200

    Rework creating an invoice using model classes to access warehouse

commit 0c84323
Author: Stef <[email protected]>
Date:   Mon Sep 12 10:24:50 2022 +0200

    Remove requests error catching outside model. Add WarehouseOrder.Cancel method.

commit 029e546
Author: Stef <[email protected]>
Date:   Mon Sep 12 10:23:52 2022 +0200

    WarehouseRequestWrapper now handles requests exceptions

commit b1470cf
Author: Stef <[email protected]>
Date:   Fri Sep 9 12:13:21 2022 +0200

    Move the invoice create form inside the create template.

commit 8de2cdc
Author: Stef <[email protected]>
Date:   Fri Sep 9 12:12:58 2022 +0200

    Delete files that are no longer needed

commit a2a8d0b
Author: Stef <[email protected]>
Date:   Fri Sep 9 10:43:19 2022 +0200

    Update invoicing to access warehouse Order API

commit 4758bbf
Author: Stef <[email protected]>
Date:   Fri Sep 9 10:42:55 2022 +0200

    Log exception when warehouse throws an error

commit 3606da4
Author: Stef <[email protected]>
Date:   Fri Sep 2 14:06:09 2022 +0200

    Make price, vat and quantity optional to prevent failing validation when an empty field is passed.

commit 072cd22
Author: Stef <[email protected]>
Date:   Fri Sep 2 14:05:18 2022 +0200

    Fix issue where empty FieldLists would be inserted into the database when creating an invoice.

    This issue is caused by the JS on the client side.
    When a product is added a new empty row for products will be added. This empty row needs to be removed when saving the invoice to the database.

commit 8700497
Author: Stef <[email protected]>
Date:   Fri Sep 2 14:03:57 2022 +0200

    Add missing error messages

commit a0a7e50
Author: Stef <[email protected]>
Date:   Fri Sep 2 14:03:47 2022 +0200

    Implement changes for externalinline compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant