From b7cf1dd04af288df6046ac80f25faaf058e102d8 Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Wed, 4 Sep 2024 15:49:37 +0200 Subject: [PATCH] exportbuchhaltung filter for pdfs --- www/pages/exportbuchhaltung.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/pages/exportbuchhaltung.php b/www/pages/exportbuchhaltung.php index a112d72a..afa25dfa 100644 --- a/www/pages/exportbuchhaltung.php +++ b/www/pages/exportbuchhaltung.php @@ -268,6 +268,11 @@ class Exportbuchhaltung b.".$typ['field_date']." BETWEEN '".date_format($von,"Y-m-d")."' AND '".date_format($bis,"Y-m-d")."' AND (b.projekt=$projekt OR $projekt=0)".$typ['condition_where']; $belege = $this->app->DB->SelectArr($sql); foreach ($belege as $beleg) { + + if (!$typ['do']) { + continue; + } + switch ($typ['pdf']) { case 'print': switch ($typ['typ']) {