mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX Avoid move line to the same place in TakePOS
This commit is contained in:
parent
c23914f367
commit
2b5bcda8d8
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user