Update REST: copy sale from Twinpol

This commit is contained in:
2025-04-16 18:04:18 +00:00
parent 8095cfe88a
commit 62658a1fbb
7 changed files with 864 additions and 814 deletions

View File

@@ -29,12 +29,12 @@ if (isset($_GET['ids'])) {
order by date_entered");
}
brecho($codes);
//die();
while($r=$GLOBALS['db']->fetchByAssoc($w)){
if(!in_array($r['stock_id'],$sarr))$sarr[]=$r['stock_id'];
if(!in_array($r['product_id'],$parr))$parr[]=$r['product_id'];
brecho($r['stock_id'],$r['product_id']);
}
for($i=0;$i<count($parr);$i++){