bugfix verbindlichkeit set sachkonto

This commit is contained in:
OpenXE 2024-01-15 14:58:20 +01:00
parent b9bec98855
commit 1baf957891

View File

@ -814,7 +814,7 @@ class Verbindlichkeit {
$positionen_kontorahmen = $this->app->erp->ReplaceKontorahmen(true,$positionen_sachkonto,false); $positionen_kontorahmen = $this->app->erp->ReplaceKontorahmen(true,$positionen_sachkonto,false);
foreach ($ids as $posid) { foreach ($ids as $posid) {
$sql = "UPDATE verbindlichkeit_position SET kontorahmen = '".$positionen_kontorahmen."'"; $sql = "UPDATE verbindlichkeit_position SET kontorahmen = '".$positionen_kontorahmen."' WHERE id =".$posid;
$this->app->DB->Update($sql); $this->app->DB->Update($sql);
} }
break; break;