Commit Graph

26 Commits

Author SHA1 Message Date
Amritanshu Agrawal ad8a2d2cc3 Fix: Save account error was because in constructor type did not end in underscore
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
2020-06-30 11:44:19 +05:30
Amritanshu Agrawal b7a1c5b816 Fix: Relations were not working as after setting the id, if the object was none, then it set to None again.
eg. in Inventory if product_id was supplied and not the product object, product_id was set, but then when the product was set to None, the product_id was also gone

Version bumped to 7.0.1
2020-06-01 20:42:16 +05:30
Amritanshu Agrawal 1c2c98e7b5 Blacked all lines with -l 120 2020-05-31 14:41:11 +05:30
Amritanshu Agrawal 10dbe6663d DbImage works!!
Credit Salary works!!

Refresh router created, now need to use it in angular

Errors should now show up in the frontend.
2020-05-30 01:58:17 +05:30
tanshu e3286c87ba Incentive Done!!
Employee Benefit Done!!
2020-05-23 09:45:02 +05:30
tanshu c0ddfc95c4 Issue Done!!
Payment and Receipt Done!!
2020-05-22 01:38:07 +05:30
tanshu 98edca5f60 Renamed "Salary Deduction" to "Employee Benefit"
Journal, Purchase and Purchase Return vouchers done!!

Changed the column type of "date" columns from "datetime" to better fit the data.
2020-05-21 13:11:47 +05:30
tanshu bd05e6bb17 Attendance Done!!
Changed the datatype of dates in attendance and employee to date from datetime
this might bork things in other places
2020-05-14 21:49:22 +05:30
tanshu da58528768 Purchase Entries Done!! 2020-05-14 14:39:19 +05:30
tanshu 01cf6c2da1 Closing Stock Done!! 2020-05-14 12:18:45 +05:30
tanshu a4b9fb7408 Works:
Balance sheet
 Ledger
 Cash Flow

along with urls
Balance sheet schema does not enforce multiple_of for amounts as multiple_of borks on random figures
2020-05-14 11:26:28 +05:30
tanshu 9c9f0dfdd6 Renamed Service Charges to Incentives including account fixture and permission
replaced my custom ValidationErro with FastAPI HTTPException
Fixed?:
 Attendance
 Employee Attendance
2020-05-12 20:52:07 +05:30
tanshu 3cd7ff11f6 Added Alembic
Breaking: Changed a lot of column names
2020-05-10 20:36:19 +05:30
Amritanshu c341e58d63 Fix: Handle uploading of new fingerprint file
Chore: Used Black formatter
2019-04-06 09:43:12 +05:30
tanshu 9f4eb334d7 Chore: Renamed the Ledger Table to Account
Chore: Renamed the Ledger Model to Account
Chore: Renamed LedgerType to AccountType
Chore: Renamed all properties of Account table to lowercase with underscores

Feature: Starred Accounts and their entries do not delete during a rebase.
Info: Starred Vouchers still delete. They can be starred, but have no effect.
2018-07-07 16:31:44 +05:30
tanshu be8f71259c Changed: Moved from global DBSession to dbsession injected into request
Version: Bumped to 4.0
Added: Dependency of pyramid_tm
Changed: Changed from ACL Authorization to custom Permission Authorization Policy
Using more of inbuilt functions. This should reduce the number of DB hits and improve performance
2016-12-24 17:11:01 +05:30
tanshu 2e670c06ec Fix: Updated to match the fingerprint uploader to the new attendance machine 2016-02-29 23:41:08 +05:30
tanshu 6a815692bd Feature: Credit Service Charge with adjustable service points
Refactor: Renamed column, table, and uses of Cost Center to Cost Centre
Refactor: Renamed costcenter to cost_centre
2015-02-12 17:42:46 +05:30
Amritanshu f3b4e95072 Feature: Login history logging
Feature: Clear out old/unused clients using Creation Date
Breakage: Change in structure of Clients table and addition of Login History table
2014-08-30 17:46:43 +05:30
Amritanshu 4e85d97e47 Feature: Images of vouchers can be uploaded with vouchers for verification.
Note: Massive breaking changes in how vouchers are uploaded.  Make sure that the client-side code is not cached.
Also, need to implement Database Integrity to check for orphan images.
2014-06-03 17:12:52 +05:30
Amritanshu 1448120941 Removed: Pyramid Debug Toolbar dependency removed.
Recipe: Recipe list and Add / Delete recipe created.
Breaking: Major updates to old databases needed as structure has changed significantly
Product table is not a inherited table similar to ledger table
table prefixes for entities removed
renamed a few tables
removed file types not used from the manifest
README.txt now contains the installation procedure on an Ubuntu 14.04 machine
Product.ShowForPurchase column removed
Product.Discountinued renamed to !Product.IsActive
2014-04-29 15:38:44 +05:30
Amritanshu 69071182a3 Feature: The app checks if the database schema is not created and creates it automatially on first run.
Fix: While user login try to catch None password error.
Fix: Rename Yeild to the correct spelling Yield.
Fix: Wrong column type for IsReconciled in Voucher.
Fix: Redirect user on login to last page.
Fix: Validate input in save/update of employee and product
2014-03-12 22:49:29 +05:30
Amritanshu 66aca999e2 Fixed: Attendance update was broken due to wrong comparison. 2013-12-07 11:39:04 +05:30
Amritanshu 536bf27403 Feature: Created a tanClick directive which disables button on click while loading
Fix: Could not change the main ledger in payment/receipt edit
Fix: Added try/catch to client delete
2013-11-20 18:24:38 +05:30
Amritanshu 3fe3a7f7f3 Feature: Product deletion created including advanced delete.
Feature: Product list filtering created.
2013-10-14 23:23:00 +05:30
Amritanshu bc7b4217cd Rebase: Moved the whole structure down one directory depth. 2013-10-14 09:29:57 +05:30