Feature: Complex voucher locking where specific types of vouchers and accounts can be locked and the locks can also be times to expire after some time.
Highest index takes priority
Update password works
Updated the precision and nullability for models
Batch was sending non round quantity_available
Amounts were not being displayed in daybook
Moved dockerfile from root to have a consistent build environment
Now all that is needed is to make it ready for strict compiling.
Removed eslint-plugin-prettier as it is not recommended and causes errors for both eslint and prettier
Bumped to v8.0.0
1. The frontend did not set the date format and that mangled the date string sent
2. Backend was broken and was not acceping data in json format
Fix: Ledger would occasionally crap out due to rounding and floating point madness, removed the rounding limitation
Fix: Employee save as checking for in None instead of is None
Feature: Checking the existing token for validity in constructor of auth service, this should prevent last login showing
Feature: Moved the middleware secret key into the env file
Chore: Replaced my own GUID() with postgres UUID() type
Fix: Attendance Type and Account Type objects were borking as their convenience methods were not returning anything
Fix: Employee Benefits and Incentive post voucher did not reload the page
Fix: For all vouchers, to prevent double data loading on save / update either reload data or navigate, don't reload data and then navigate so that the data appears once and then disappears
Also figured out why a lot of exceptions are generating 500 errors.
Those errors are again caught by the general exception catcher in the end and re thrown.
Need to fix this.
Journal Done!!
But there is issue of validation in purchase due to lack of proper journals when getting data from the frontend.
The proposed solution is to create different schemas for various vouchers and then reexport and import them in a master schema for persisting
Also, change "Supplier" to vendor in Purchase, etc.
Also, convert all date field to date from datetime
Rename "Salary Deduction" to "Employee Benefits" across the board