Add php files

This commit is contained in:
2025-05-12 15:44:39 +00:00
parent c951760058
commit 82d5804ac4
9534 changed files with 2638137 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<?php
$db=$GLOBALS['db'];
$r=$db->query("select ou.document_no,op.id from ecmstockdocinsideouts as ou
join ecmstockoperations as op on op.parent_id=ou.id where op.parent_name is null");
while($dane=$db->fetchByAssoc($r)){
echo "update ecmstockoperations set parent_name='".$dane['document_no']."' where id='".$dane['id']."';<br>";
}
?>