Skip to content

Commit

Permalink
Fixed fiscal and closing report, now you can correctly call the funct…
Browse files Browse the repository at this point in the history
…ion inside the POS interface.
  • Loading branch information
Wvven committed Jan 28, 2025
1 parent 81ce1fd commit 73893a0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ odoo.define("fiscal_epos_print.EpsonFP81IIComponent", function (require) {
});
if (confirmed) {
fp90.printFiscalReprintLast(
this.env.pos.cashier.fiscal_operator_number || "1"
this.env.pos.get_cashier() || "1"
);
} else {
// TODO not exist
Expand Down Expand Up @@ -166,8 +166,8 @@ odoo.define("fiscal_epos_print.EpsonFP81IIComponent", function (require) {
});
if (confirmed) {
// Fp90.printFiscalReport();
fp90.printFiscalXZReport(
this.env.pos.cashier.fiscal_operator_number || "1"
fp90.printFiscalReport(
this.env.pos.get_cashier() || "1"
);
} else {
// TODO not exist
Expand All @@ -191,7 +191,7 @@ odoo.define("fiscal_epos_print.EpsonFP81IIComponent", function (require) {
});
if (confirmed) {
fp90.printFiscalXReport(
this.env.pos.cashier.fiscal_operator_number || "1"
this.env.pos.get_cashier() || "1"
);
} else {
// TODO not exist
Expand Down

0 comments on commit 73893a0

Please sign in to comment.