Commit Graph

634 Commits

Author SHA1 Message Date
tanshu 708a60baf7 Ledger now working with response_model
get_edit_url workaround found with transform clientside
2020-05-12 23:21:12 +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 de4d248de7 Done:
Issue Grid
 Batch
2020-05-12 11:53:20 +05:30
tanshu 8dcda9cb56 Moved the session to core from routers 2020-05-12 09:55:33 +05:30
tanshu d62119882d All Reports done. Except where get_url is used 2020-05-12 09:23:27 +05:30
tanshu 2b2430c5b2 Done upto reconcile
Pending:
 stock movement
 trial balance
 unposted
2020-05-12 03:52:25 +05:30
tanshu 85d05392b8 Added session support, but right now it is defaulting to 2 week long session
Reports working:
 Ledger
 Balance Sheet
 Profit & Loss
 Closing Stock
2020-05-12 02:57:48 +05:30
tanshu 6dbab6442f Renamed groups to roles in the frontend
Working:
 Account
 Cost Centre
 Employee
 Product Group
 Product
 Role
 User
 Client
2020-05-12 01:44:57 +05:30
tanshu cd764be49c angular2-hotkeys beyond this breaks with Angular 8.x
logout now works.
Only the clientID does not work as of now
2020-05-12 00:31:53 +05:30
tanshu ae8c46084c Working as a drop-in replacement for the last 2020-05-11 23:45:52 +05:30
tanshu 37b4faabf4 Updated to new api structure 2020-05-11 22:46:41 +05:30
tanshu 5f3649990f Simplified unnecessary complex logic 2020-05-11 22:46:17 +05:30
tanshu 02fbd0984e Updated to reflect renamed schemas 2020-05-11 22:42:13 +05:30
tanshu 07b7248b4e Changes in the login so that the token works with my solution 2020-05-11 21:53:38 +05:30
tanshu 9dff72aaed Clients should now work.
Blacked a lot of files
2020-05-10 22:38:35 +05:30
tanshu 06fd0db3f6 Checked the alembic migration. It is fine
Fixed errors in user / roles / etc. mostly introduced due to the renaming of tables
2020-05-10 22:25:37 +05:30
tanshu 899b5f31ab Alembic updated to current schema 2020-05-10 21:52:23 +05:30
tanshu 3cd7ff11f6 Added Alembic
Breaking: Changed a lot of column names
2020-05-10 20:36:19 +05:30
tanshu 9383cf84d4 Done: Product Group
Done: Product
2020-05-10 16:05:39 +05:30
tanshu aae48faf91 Renamed service points to points consistently
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
2020-05-10 13:32:08 +05:30
tanshu 6765f0a93e Account done 2020-05-08 16:18:50 +05:30
tanshu 2466efb208 Permissions are now stored in and gotten from the jwt 2020-05-08 16:18:25 +05:30
tanshu fe74ef44bf Moving to FastAPI
Config is not properly working with .env file as of now
Cost Centre is mostly working, going to work on Accounts now
2020-05-08 10:22:25 +05:30
Amritanshu 72044476a8 Feature: Lazy loading
Lazy loaded everything
TODO: The cash flow module when clicking on sub-links, it reloads the whole page, it needs to be diagnosed and fixed, this problem also exists in the other modules
TODO: Rename folders and modules such as account to accounts to match the url
2019-06-13 16:36:43 +05:30
Amritanshu fea48e1a3e Chore: Upgraded to Angular, Angular Material and Angular Flex layout 8.0 2019-06-12 17:25:10 +05:30
Amritanshu 40eaa25c76 Feature: Reports now change the start and end period dates similar to vouchers.
Chore: cleaned up the layout of the functions in the reports to make them easier to understand and follow standard practices
2019-06-12 15:36:52 +05:30
Amritanshu 120b9544f8 Feature: Added hotkeys in vouchers for selecting date (f2), save (ctrl+s) and post (ctrl+p) 2019-05-07 14:59:51 +05:30
Amritanshu 017c828474 Fix: Trim the narration of vouchers to remove cruft
Fix: Do no tabstop on row edit buttons for a more consistent feel.
2019-04-18 16:04:42 +05:30
Amritanshu 403b9a207a Fix: ProductLedger was crapping out because of ambiguous join in opening balace. (Probably triggered by upgrade in sqlalchemy)
Chore: Updated the dev dependencies as Angular 7 does not support Typescript 3.2 and further
2019-04-15 13:34:16 +05:30
Amritanshu 72e8801472 Fix: Error in navbar, didn't do anything, but showed up in the errors. 2019-04-13 12:12:08 +05:30
Amritanshu c341e58d63 Fix: Handle uploading of new fingerprint file
Chore: Used Black formatter
2019-04-06 09:43:12 +05:30
Amritanshu dd59bfdfb4 Fix: On row edit, the value of the control was set as number and not text, leding to error on add row. 2018-11-26 09:07:58 +05:30
Amritanshu bdb8bc7005 Refactor: Flush opening vouchers to database before cleaning of lint.
This removes the need to keep of list of accounts/batches to not be deleted.
Do not delete employees with attendance and fingerprints.
2018-11-26 08:54:39 +05:30
Amritanshu cfdd49f96f Fix: Layout was getting squashed, now working properly 2018-11-26 08:46:23 +05:30
Amritanshu 75ea08f678 Chore: Update to Angular 7.1.0, Angular Material 7.1.0 and Angular Flex Layout 7.0.0-beta.19
Fix: Prod build will now build properly
TODO: The width of content is very less and everything is squashed
2018-11-26 08:46:03 +05:30
Amritanshu 1984c1fc90 Fix: Rebase url error, double slash before date 2018-09-05 00:09:37 +05:30
Amritanshu eb22eace69 Fix: Incentives was not saving
Fix: Employee edit was not working
2018-08-25 11:28:23 +05:30
Amritanshu cd20982753 Feature: Download Products
Fix: Add user
Fix: Added 5000 page size in products
Fix: Local Time Pipe was showing the wrong time
2018-07-29 23:43:26 +05:30
tanshu f8162f364d Fix: Changed formula of Service Charge to update the new way of keeping accounts
Fix: Changed the limit of ESI in line with govt. regulations
2018-07-16 17:59:15 +05:30
tanshu 1c10eec4ca Fix: isStarred was not set in empty employee and thus error in Save 2018-07-16 16:59:59 +05:30
tanshu adb7f25c9f Fix: InitDB Console script added to setup.py 2018-07-14 18:31:13 +05:30
tanshu 29b81cbd21 Fix: Employee was not saving because of isStarred, added that functionality to employee 2018-07-14 10:52:39 +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 739c872815 Fix: Adding the next account in journal with default accounts failed because amount in rowAmount as reset as number. 2018-06-30 20:05:32 +05:30
tanshu ede445ac1f Added: Mathjs for evaluating expressions in journal amount 2018-06-29 13:32:52 +05:30
tanshu c6272762da Fix: Product Ledger was taking into account unposted entries and also the footer was not displaying the totals 2018-06-28 16:38:27 +05:30
tanshu b8c2e9eeb1 Added: 5000 Page size in Balance Sheet
Added: Employee Download
2018-06-20 09:13:49 +05:30
tanshu 08fedaa44d Fix: Balance Sheet was not working 2018-06-14 16:39:13 +05:30
tanshu 7376779f3a Feaure: Showing Hours worked with styling in attendances. 2018-06-13 15:23:20 +05:30
tanshu 927c693a6f Enabled page refreshing so that ledger and other reports can refresh by clicking show.
Fixed: Auth interceptor was swallowing the error.
2018-06-13 12:19:46 +05:30