mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-12 06:41:14 +01:00
class.remote sendlistlager condensed
This commit is contained in:
parent
d20bbe79b3
commit
57a9aa23ff
@ -2218,7 +2218,7 @@ class Remote
|
|||||||
$data2 = $data;
|
$data2 = $data;
|
||||||
foreach ($data2 as $key => $value){
|
foreach ($data2 as $key => $value){
|
||||||
$data2[$key]['artikel'] = $value['artikelid'];
|
$data2[$key]['artikel'] = $value['artikelid'];
|
||||||
}
|
}
|
||||||
$result = $this->RemoteCommand($id,'sendlistlager',$data2);
|
$result = $this->RemoteCommand($id,'sendlistlager',$data2);
|
||||||
$this->app->DB->Update(
|
$this->app->DB->Update(
|
||||||
sprintf(
|
sprintf(
|
||||||
@ -2286,17 +2286,7 @@ class Remote
|
|||||||
}//Altes Verhalten
|
}//Altes Verhalten
|
||||||
}
|
}
|
||||||
if(!$isLagerExported){
|
if(!$isLagerExported){
|
||||||
$data2 = $data;
|
$this->sendlistlager($i,$id,$data);
|
||||||
foreach ($data2 as $key => $value){
|
|
||||||
$data2[$key]['artikel'] = $value['artikelid'];
|
|
||||||
}
|
|
||||||
$this->RemoteCommand($id,'sendlistlager',$data2);
|
|
||||||
$this->app->DB->Update(
|
|
||||||
sprintf(
|
|
||||||
'UPDATE artikel_onlineshops SET last_storage_transfer = NOW() WHERE artikel = %d AND shop = %d',
|
|
||||||
$data2[$i]['artikel'], $id
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user