Fully working with the rule no explicit any
This commit is contained in:
@ -70,14 +70,16 @@ export class CashierReportComponent implements OnInit {
|
||||
}
|
||||
|
||||
print() {
|
||||
this.ser.print(this.info.cashier.id as string, this.info.startDate, this.info.finishDate).subscribe(
|
||||
() => {
|
||||
this.toaster.show('', 'Successfully Printed');
|
||||
},
|
||||
(error) => {
|
||||
this.toaster.show('Error', error.error);
|
||||
},
|
||||
);
|
||||
this.ser
|
||||
.print(this.info.cashier.id as string, this.info.startDate, this.info.finishDate)
|
||||
.subscribe(
|
||||
() => {
|
||||
this.toaster.show('', 'Successfully Printed');
|
||||
},
|
||||
(error) => {
|
||||
this.toaster.show('Error', error.error);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
getInfo(): CashierReport {
|
||||
|
||||
Reference in New Issue
Block a user