Hi there i'm working with a module in pos module and i want to do something.I create a button in pos orderline and i want when that button clicked ,, it should add another product automatically like the product already selected with the same quantity.
i could get the already selected product info like id ,name and etc,,but i don't know how to add a new one usign this button
i hope that someone could tell me where is the function that add a new order or product to order line so i can send it a line
like this :
| var line = this.pos.get('selectedOrder').getLastOrderline(); |
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/25/15, 2:21 AM|
|Seen: 445 times|
|Last updated: 7/28/15, 12:21 AM|