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
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
Renamed Schemas to shorten them
Added the name validators for Account Base
Added joining_date/leaving_date validators for employees
Employees should be working now