few chasnges

This commit is contained in:
2025-08-05 13:52:35 +00:00
parent e37b4dd963
commit 6c4eed7fc7
9 changed files with 58 additions and 22 deletions

View File

@@ -63,9 +63,7 @@ while ($tmp2 = $db->fetchByAssoc($r1)) {
$i++;
}
while ($tmp = $db->fetchByAssoc($r)) {
var_dump($tmp);
$ii = $db->query( "select * from ecmstockoperations where in_id='" . $tmp['id'] ."' and type=1");
echo "select * from ecmstockoperations where in_id='" . $tmp['id'] ."' and type=1";
if ($ii->num_rows > 0) {
// licz ilość dla użytych
$quantity_tmp = $tmp['quantity'];