diff --git a/htdocs/takepos/split.php b/htdocs/takepos/split.php index 75599d0160f..02c37cb75e5 100644 --- a/htdocs/takepos/split.php +++ b/htdocs/takepos/split.php @@ -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() { - \ No newline at end of file +