Commit Graph

426 Commits

Author SHA1 Message Date
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
c8681b2994 Fix: Add product was borking as during check_inventories_are_valid the product_id of inventory was Null 2020-11-09 12:50:16 +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
ad88dbf0d0 Fix:
Upload fingerprint
2020-11-06 12:29:52 +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
0118cc7c73 Moved dockerfile to project 2020-11-03 11:23:48 +05:30
8a4fa430ad Version bump to v8.1.0 2020-11-02 23:40:27 +05:30
d64cb54702 Updated dependencies 2020-11-02 23:38:38 +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
889cac237c Moved brewman python project down a level into its own folder 2020-10-10 11:19:15 +05:30
00321fe022 Removed tsline dependency 2020-10-10 10:57:39 +05:30
b150f08b6c Increased package budgets so that the compile would not fail. 2020-10-10 08:51:51 +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
7463846282 Blacked all files 2020-10-07 22:29:24 +05:30
37910b71be Bump version
v7.5.0
2020-10-07 21:40:23 +05:30
cb5f52fcc7 Chore:
Blacked and isorted all files
2020-10-07 21:29:42 +05:30
40f1f59f9d Chore:
Moved from setup.py and requirements.txt to poetry
  Added flake8 and black to dev dependencies. Now I need to integrate them with pre commit hooks
2020-10-07 20:44:05 +05:30
4e05131b41 Fix: Errors raised were not HTTP Errors, but were value errors. This raised 500 errors on the front end without valid details.
v7.4.0
2020-10-07 19:38:08 +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
d77053d92a Hack till https://github.com/brtnshrdr/angular2-hotkeys/pull/135 gets merged in angular2-hotkeys 2020-10-02 08:25:08 +05:30
834b7bf5e8 Version bump to v7.3.0 2020-10-01 21:42:33 +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
40e79ff949 Fix:
Update in purchase/return would give wrong product changed error when a product was deleted as the id of the inventory was not checked properly
2020-10-01 12:38:54 +05:30
4685fa2528 Fix: Rounding being done manually to prevent floating point errors 2020-09-21 20:50:01 +05:30
80a8de5fea Fix: Product add was not working as the endpoint was configured wrongly 2020-09-20 18:10:42 +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
8b82cf8157 Fix: Purchase Return was being saved as Purchase entries
Fix: Receipt Vouchers could not be deleted as wrong permission was checked

v7.1.1
2020-09-13 07:25:27 +05:30
9b483e6d65 v7.1.0
Chore: Upgraded to Angular 10
Chore: Updated all frontend dependencies
2020-07-16 18:25:44 +05:30
a04cb4cd4d Update: to 7.0.4
Fix: Balance Sheet was showing account in random heads
Fix: Batch was not showing in issue
Fix: At times, the Product Ledger created error on rounding and did not show.
2020-07-16 13:09:22 +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
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
58f6d6578b Merge branch 'fastapi' 2020-06-01 09:21:10 +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
1c2c98e7b5 Blacked all lines with -l 120 2020-05-31 14:41:11 +05:30
1f7ca329bc removed sensitive info from .env 2020-05-31 14:28:23 +05:30
e24ca40b6b removed the package-lock file 2020-05-31 14:27:26 +05:30