From dcedcec0f2e38b723071010241159d35d39d27c1 Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Tue, 30 May 2023 13:31:29 +0200 Subject: [PATCH] bugfix edit positions getpreise --- phpwf/plugins/class.yui.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phpwf/plugins/class.yui.php b/phpwf/plugins/class.yui.php index 1dba71f8..ca9ff155 100644 --- a/phpwf/plugins/class.yui.php +++ b/phpwf/plugins/class.yui.php @@ -1454,7 +1454,9 @@ class YUI { $intern = false; $cmd = $this->app->Secure->GetGET('cmd'); } - + + $priceCol = 'b.preis'; + if($cmd === 'getpreise') { $ret = null; //$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"); $adresse = $moduleArr['adresse'];//$this->app->DB->Select("SELECT adresse FROM $module WHERE id = '$id' LIMIT 1"); $funktion = ucfirst($module).'MitUmsatzeuer'; - $priceCol = 'b.preis'; $join = ''; $anrede = 'firma'; if(!$this->app->erp->AnzeigeBelegNettoAdresse($anrede, $module, $projekt, $adresse, $id)