Feature: Now a tax can be broken up into multiple components while bill printing.

This is especially for GST. The format for the tax name is
"Display name 1 (Ratio eg. 1/2) ; Display name 1 (Ratio eg. 1/2)"
eg.
"SGST on Food @ 2.5% (1/2) ; CGST on Food @ 2.5% (1/2)"
or
"UTGST on Food @ 2.5% (1/2) ; CGST on Food @ 2.5% (1/2)"

Feature:
All report printing now uses local aware number formatting for Indian locale.
This commit is contained in:
2020-12-13 13:14:19 +05:30
parent 27aa4d12a6
commit 3ad73dff1c
35 changed files with 130 additions and 60 deletions

View File

@ -40,7 +40,7 @@ export class ErrorInterceptor implements HttpInterceptor {
}
// auto logout if 401 response returned from api
this.authService.logout();
this.toaster.show('Danger', 'User has been logged out');
this.toaster.show('Error', 'User has been logged out');
const dialogRef = this.dialog.open(ConfirmDialogComponent, {
width: '250px',
data: {