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

@ -77,7 +77,7 @@ export class SettleOptionDetailComponent implements OnInit, AfterViewInit {
this.router.navigateByUrl('/settle-options');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Error', error);
},
);
}
@ -89,7 +89,7 @@ export class SettleOptionDetailComponent implements OnInit, AfterViewInit {
this.router.navigateByUrl('/settle-options');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Error', error);
},
);
}