From 92f016d06b9f0b8f2e6ef47ecb81f0de59645bb7 Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Tue, 4 Apr 2023 13:48:40 +0200 Subject: [PATCH] bugfix kontoauszuege import decimals and sum display --- www/pages/importvorlage.php | 2 ++ www/pages/kontoauszuege.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/www/pages/importvorlage.php b/www/pages/importvorlage.php index af234f57..731152c5 100644 --- a/www/pages/importvorlage.php +++ b/www/pages/importvorlage.php @@ -5124,6 +5124,8 @@ class Importvorlage extends GenImportvorlage { } unset($row['betrag2']); + $row['soll'] = $this->app->erp->ReplaceBetrag(true,$row['soll']); + $row['buchung'] = $this->app->erp->ReplaceDatum(true,$row['buchung'],false); // Calculate hash diff --git a/www/pages/kontoauszuege.php b/www/pages/kontoauszuege.php index dd05a2ed..5897715d 100644 --- a/www/pages/kontoauszuege.php +++ b/www/pages/kontoauszuege.php @@ -172,10 +172,10 @@ class Kontoauszuege { k.importfehler, CONCAT( '', - ".$app->erp->FormatMenge('SUM(k.soll)',2).", + ".$app->erp->FormatMenge('(k.soll)',2).", '' ), - ".$app->erp->FormatMenge('SUM(k.soll)',2)."), + ".$app->erp->FormatMenge('(k.soll)',2)."), k.waehrung, k.buchungstext, k.internebemerkung,