Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #57517 Back to Issue ]
Summary 0057517: JS error when clicking on DONE with prepayments enabled in a fully paid order
Revision 2024-12-23 16:47 by kchoperena
Description Having prepayments enabled, if we reopen the order, navigate to the payment section and click on DONE, a JS error appears

The error happens in the CashupUtils.js line 290:

prepaymentsAmount =
          OB.DEC.sub(ticket.obposPrepaymentamt, deliveredGrossAmount) <= 0
            ? ticket.obposPrepaymentamt
            : OB.DEC.sub(ticket.obposPrepaymentamt, deliveredGrossAmount);
Revision 2024-12-23 16:44 by kchoperena
Steps To Reproduce VIDEO: https://drive.google.com/file/d/1dLcqXZN6cBNE2LceT7rtlzZJQL8NINsM/view?usp=sharing [^]
PRE-REQUIREMENTS:
- Have enabled prepayments

STEPS:
1.- Log into the POS2
2.- Add a pick up in store product line to the ticket
3.- Pay completely the ticket and complete it
4.- Reopen the ticket
5.- Go to payment section and click in DONE


RESULT:
An error will happen and the delivery will not be performed
Revision 2024-12-23 16:44 by kchoperena
Description Having prepayments enabled, if we reopen the order, navigate to the payment section and click on DONE, a JS error appears
Revision 2024-12-23 16:17 by kchoperena
Description There is a functionality that is executed when an order is completely paid and has lines ready to be delivered, allowing us to deliver an order from the POS.

The window appears when we click on the DONE button and synchronize the ticket with the server
Revision 2024-12-23 16:17 by kchoperena
Steps To Reproduce Check the video attached on comments as we notice a simpler way to reproduce the problem

PRE-REQUIREMENTS:
- It is required to have AWO configured in order to prepare an orderline and leave it ready to deliver

STEPS:
1.- Log into the POS2
2.- Add a pick up in store product line to the ticket
3.- Pay completely the ticket
4.- Go to the back-end and search the order created
5.- Using the AWO buttons, pick and prepare the orderline
6.- Once the line is ready to deliver, go to the POS again and open the order
7.- Navigate to payment window and click on DONE
8.- A popup will appear to deliver the order. Try to deliver it

RESULT:
An error will happen and the delivery will not be performed
Revision 2024-12-23 12:33 by kchoperena
Steps To Reproduce Check the video attached on comments as we notice and simpler way to reproduce the problem

PRE-REQUIREMENTS:
- It is required to have AWO configured in order to prepare an orderline and leave it ready to deliver

STEPS:
1.- Log into the POS2
2.- Add a pick up in store product line to the ticket
3.- Pay completely the ticket
4.- Go to the back-end and search the order created
5.- Using the AWO buttons, pick and prepare the orderline
6.- Once the line is ready to deliver, go to the POS again and open the order
7.- Navigate to payment window and click on DONE
8.- A popup will appear to deliver the order. Try to deliver it

RESULT:
An error will happen and the delivery will not be performed
Revision 2024-12-20 13:17 by kchoperena
Steps To Reproduce PRE-REQUIREMENTS:
- It is required to have AWO configured in order to prepare an orderline and leave it ready to deliver

STEPS:
1.- Log into the POS2
2.- Add a pick up in store product line to the ticket
3.- Pay completely the ticket
4.- Go to the back-end and search the order created
5.- Using the AWO buttons, pick and prepare the orderline
6.- Once the line is ready to deliver, go to the POS again and open the order
7.- Navigate to payment window and click on DONE
8.- A popup will appear to deliver the order. Try to deliver it

RESULT:
An error will happen and the delivery will not be performed
Revision 2024-12-20 12:09 by kchoperena
Steps To Reproduce PRE-REQUIREMENTS:
- It is required to have AWO configured in order to prepare an orderline and leave it ready to deliver

STEPS:
1.- Log into the POS2
2.- Add a pick up in store product line in the ticket
3.- Pay partially the ticket
4.- Go to the back-end and search the order created
5.- Using the AWO buttons, pick and prepare the orderline
6.- Once the line is ready to deliver, go to the POS again and open the order
7.- Pay it completely and complete the ticket
8.- A popup will appear to deliver the order. Try to deliver it

RESULT:
An error will happen and the delivery will not be performed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker