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

@ -70,7 +70,7 @@ export class TableDetailComponent implements OnInit, AfterViewInit {
this.router.navigateByUrl('/tables');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Error', error);
},
);
}
@ -82,7 +82,7 @@ export class TableDetailComponent implements OnInit, AfterViewInit {
this.router.navigateByUrl('/tables');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Error', error);
},
);
}

View File

@ -49,7 +49,7 @@ export class TableListComponent implements OnInit {
this.toaster.show('Success', '');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Error', error);
},
);
}