diff --git a/htdocs/takepos/index.php b/htdocs/takepos/index.php index c054070073d..8e42acc4a68 100644 --- a/htdocs/takepos/index.php +++ b/htdocs/takepos/index.php @@ -587,7 +587,7 @@ function ClickProduct(position, qty = 1) { return; } // Call page invoice.php to generate the section with product lines - $("#poslines").load("invoice.php?action=addline&token=&place="+place+"&idproduct="+idproduct+"&qty="+qty+"&invoiceid="+invoiceid, function() { + $("#poslines").load("invoice.php?action=addline&token=&place="+place+"&idproduct="+idproduct+"&selectedline="+selectedline+"&qty="+qty+"&invoiceid="+invoiceid, function() {