Commit Graph

103 Commits

Author SHA1 Message Date
9aeb71d566 User and Client lists show the last logins. 2020-12-05 09:03:11 +05:30
c2e8c0382a Version bump to v9.1.1 2020-12-05 08:08:18 +05:30
02b87262a4 Version bump to v9.1.0 2020-12-04 13:03:01 +05:30
2d81f80c63 Moved all the schemas into their own logical files. 2020-12-04 13:02:13 +05:30
8ff8d6bc91 Version bump to v9.0.1 2020-11-26 07:07:06 +05:30
4c4c1b994e Fix: Employee and Account showed [object Object] in Department instead of the department name.
This is due to enabling strict mode in Typescript and changing the list department from string to object. But the html was not updated.
2020-11-26 07:06:09 +05:30
9cd4a4ef20 Version bump to v9.0.0 2020-11-24 08:05:27 +05:30
2972203148 Removed the use of any and enabled the rule in eslint.
Now according to me the conversion is final.
Testing is required.
2020-11-24 08:03:43 +05:30
715e35ef38 Fix: Vouchers post was not allowed as the check was wrong. 2020-11-23 17:29:32 +05:30
1b84ef0b11 Upgrade to angular v11 2020-11-23 17:12:27 +05:30
afe746ecdc Strict done!! 2020-11-23 16:42:54 +05:30
af343cb7f9 All datasources done. Now to wire them up in the components.
Plus ElementRefs are now optional as they cannot be initialized
2020-11-23 10:25:53 +05:30
39e3cc51bb Moving to strict.
Create form has now moved to constructor and route data subscribe is type safe.
2020-11-23 09:18:02 +05:30
30b1a3ef7d Version bump v8.2.4 2020-11-09 12:51:10 +05:30
2e3e451c35 Fix: Fingerprint now checked and is working
Version bump:
 v8.2.3
2020-11-06 12:56:55 +05:30
3e04d69419 Version bump
v8.2.2
2020-11-06 12:30:58 +05:30
0f6484cd2f Version bump v8.2.1 2020-11-03 21:55:34 +05:30
ba4f8a4831 Fix:
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
2020-11-03 21:50:30 +05:30
0ab81b25d0 Chore:
v8.2.0
2020-11-03 11:28:50 +05:30
8a4fa430ad Version bump to v8.1.0 2020-11-02 23:40:27 +05:30
d9eb335ef3 Blacked, isorted, etc the python file
Was also moving the validation from schemas to models/validations
2020-11-02 23:18:56 +05:30
886b11be23 Error is batch list router fixed
v8.0.2
2020-10-11 16:29:19 +05:30
14930954a2 Fix: Batch autocomplete would bork on empty string as it would try to split Null
v8.0.1
2020-10-11 16:02:41 +05:30
5ea09df272 Prettied, Linted and updated angular.json according to the latest schematic of Angular CLI.
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
2020-10-10 08:45:05 +05:30
438a98334d Showing the frontend and backend version in the settings panel.
Bumped the version to 7.6.0
2020-10-07 23:27:54 +05:30
cfeef1795d Feature: Allow math expressions on all journal inputs and also round them properly.
Chore:
  Prettied index.html, main.ts and styles.css
  Updated Dependencies
2020-10-07 18:42:22 +05:30
cefb3ebdcc Removed old rules from eslint
Tried hand at testing by fixing the spec files with import. However, still many errors and given up now.
2020-10-02 16:24:29 +05:30
1350870f9e Moved from tslint to eslint as tslint was depreciated.
Added prettier and also prettied all the typescript files using prettier

ESLint is using the AirBnB rules which are the most strict to lint the files.
2020-10-01 21:28:12 +05:30
005d45032f Fix: Reset stock was not working because:
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
2020-09-20 09:56:35 +05:30
cb66700157 Feature/Fix: Auth service will check local storage during get user in case another window has refreshed the token 2020-09-13 08:34:47 +05:30
9b483e6d65 v7.1.0
Chore: Upgraded to Angular 10
Chore: Updated all frontend dependencies
2020-07-16 18:25:44 +05:30
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
6ccb3634be Tag: v7.0.2
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
2020-06-02 08:35:36 +05:30
7b4756fe1a Bumped the version to 7
Fixed double exception being thrown
Currency pipe broke the accounts pipe
2020-06-01 09:02:52 +05:30
013fce2e96 Settings working now. Everything working now.
Time for docker and beta test
2020-05-30 23:39:02 +05:30
95e92fc2bd Fixed: Star now showing in employee list 2020-05-30 16:18:25 +05:30
dd799a8e2f Fixed Sorting and paging of Employees and Accounts 2020-05-30 16:18:08 +05:30
d5bc818632 Clients also implemented.
I think the only things left are the login history and other past errors
2020-05-30 15:41:55 +05:30
7edac38435 Sliding session implemented by using jwt interceptor to refresh the token 10 minutes before expiry 2020-05-30 14:09:38 +05:30
8ae67863eb Voucher Post and Delete working!!
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.
2020-05-30 12:06:37 +05:30
2a86246e23 was supposed to be part of the commit merging payment and receipt into journal 2020-05-30 11:11:06 +05:30
a5fcb2026c Fixed permission names in front end as they have to be kebab cased 2020-05-30 10:29:23 +05:30
1a553146e2 Update as nav-bar was crapping out in Angular 9 2020-05-30 02:31:49 +05:30
725a5b4bc0 @angular/material migration - migration-v9
Updates Angular Material to v9
2020-05-30 02:20:18 +05:30
2210dc265e @angular/cli migration - workspace-version-9
Angular Workspace migration. Update an Angular CLI workspace to version 9.
2020-05-30 02:14:11 +05:30
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
a0f27fe364 Attendance and Employee Attendance done!!
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
2020-05-17 15:38:13 +05:30