bugfix edit positions getpreise

This commit is contained in:
OpenXE 2023-05-30 13:31:29 +02:00
parent 6fc74f1bf3
commit dcedcec0f2

View File

@ -1455,6 +1455,8 @@ class YUI {
$cmd = $this->app->Secure->GetGET('cmd'); $cmd = $this->app->Secure->GetGET('cmd');
} }
$priceCol = 'b.preis';
if($cmd === 'getpreise') { if($cmd === 'getpreise') {
$ret = null; $ret = null;
//$scol = $this->app->Secure->GetPOST('scol'); //$scol = $this->app->Secure->GetPOST('scol');
@ -1472,7 +1474,6 @@ class YUI {
$projekt = $moduleArr['projekt'];//$this->app->DB->Select("SELECT projekt FROM $module WHERE id = '$id' LIMIT 1"); $projekt = $moduleArr['projekt'];//$this->app->DB->Select("SELECT projekt FROM $module WHERE id = '$id' LIMIT 1");
$adresse = $moduleArr['adresse'];//$this->app->DB->Select("SELECT adresse FROM $module WHERE id = '$id' LIMIT 1"); $adresse = $moduleArr['adresse'];//$this->app->DB->Select("SELECT adresse FROM $module WHERE id = '$id' LIMIT 1");
$funktion = ucfirst($module).'MitUmsatzeuer'; $funktion = ucfirst($module).'MitUmsatzeuer';
$priceCol = 'b.preis';
$join = ''; $join = '';
$anrede = 'firma'; $anrede = 'firma';
if(!$this->app->erp->AnzeigeBelegNettoAdresse($anrede, $module, $projekt, $adresse, $id) if(!$this->app->erp->AnzeigeBelegNettoAdresse($anrede, $module, $projekt, $adresse, $id)