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

@ -25,7 +25,7 @@ export class AuthGuard implements CanActivate {
return false;
}
if (permission !== undefined && !this.authService.allowed(permission)) {
this.toaster.show('Danger', 'You do not have the permission to access this area.');
this.toaster.show('Error', 'You do not have the permission to access this area.');
return false;
}
// logged in so return true

View File

@ -69,7 +69,7 @@ export class LoginComponent implements OnInit, AfterViewInit {
this.showOtp = true;
this.clientId = this.cs.getCookie('client_id');
}
this.toaster.show('Danger', error.error.details);
this.toaster.show('Error', error.error.details);
},
);
}