Merge pull request #19542 from andreubisquerra/develop
FIX Avoid move line to the same place in TakePOS
This commit is contained in:
commit
4e744dec65
@ -84,6 +84,7 @@ if ($action=="split") {
|
||||
$db->query($sql);
|
||||
} elseif ($split==0) { // Unsplit line
|
||||
$invoice = new Facture($db);
|
||||
if ($place=="SPLIT") $place="0"; // Avoid move line to the same place (from SPLIT to SPLIT place)
|
||||
$ret = $invoice->fetch('', '(PROV-POS'.$_SESSION["takeposterminal"].'-'.$place.')');
|
||||
if ($ret > 0) {
|
||||
$placeid = $invoice->id;
|
||||
@ -137,7 +138,7 @@ if ($invoiceid > 0) {
|
||||
}
|
||||
}
|
||||
|
||||
$arrayofcss = array('/takepos/css/pos.css.php', '/takepos/css/split.css.php');
|
||||
$arrayofcss = array('/takepos/css/pos.css.php');
|
||||
$arrayofjs = array();
|
||||
|
||||
$head = '';
|
||||
@ -225,4 +226,4 @@ $( document ).ready(function() {
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user