mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Lagersync bugfix result array
This commit is contained in:
parent
4351fd7b9d
commit
26e6d773a9
@ -21079,7 +21079,7 @@ function ChargenMHDAuslagern($artikel, $menge, $lagerplatztyp, $lpid,$typ,$wert,
|
||||
|
||||
$this->LogFile('*** UPDATE '.$lagerartikel[$ij]['nummer'].' '.$lagerartikel[$ij]['name_de'].' Shop: '.$shop.' Lagernd: '.$verkaufbare_menge.' Korrektur: '.round((float) ($verkaufbare_menge_korrektur - $verkaufbare_menge),7).' Pseudolager: '.round((float) $pseudolager,8).' Result: '.(is_array($result)?$result['status']:$result), $result);
|
||||
|
||||
if ($result['status'] == 1 || $status === 1) {
|
||||
if ((is_array($result)?$result['status'] == 1:false) || $status === 1) {
|
||||
$cacheQuantity = (int) $verkaufbare_menge_korrektur + (int) $pseudolager;
|
||||
$this->app->DB->Update(
|
||||
"UPDATE `artikel` SET `cache_lagerplatzinhaltmenge` = '{$cacheQuantity}'
|
||||
|
@ -1088,6 +1088,7 @@ class Remote {
|
||||
$this->logger->debug(
|
||||
'RemoteSendArticleList',
|
||||
[
|
||||
'shop' => $id,
|
||||
'artikel_arr' => $artikel_arr
|
||||
]
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user