-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Bug
When I want to add a supplement, it adds it as a normal line.
The problem is here, it started with version 19. The "selectedline" is not being sent.
../htdocs/takepos/index.php
(22.0.4)
// Call page invoice.php to generate the section with product lines $("#poslines").load("invoice.php?action=addline&token=<?php echo newToken(); ?>&place="+place+"&idproduct="+idproduct+"&qty="+qty+"&invoiceid="+invoiceid, function() { <?php if (getDolGlobalString('TAKEPOS_CUSTOMER_DISPLAY')) { echo "CustomerDisplay();"; }?> });
(18.0)
$("#poslines").load("invoice.php?action=addline&token=<?php echo newToken() ?>&place="+place+"&idproduct="+idproduct+"&selectedline="+selectedline+"&qty="+qty+"&invoiceid="+invoiceid, function() { <?php if (!empty($conf->global->TAKEPOS_CUSTOMER_DISPLAY)) echo "CustomerDisplay();";?> });
Dolibarr Version
22.0.4
Environment PHP
No response
Environment Database
No response
Steps to reproduce the behavior and expected behavior
No response
Attached files
No response