mahnwesen exclude cancelled items

This commit is contained in:
OpenXE 2024-10-18 18:55:37 +02:00
parent 69ef3d4ed6
commit d92105316e

View File

@ -88,7 +88,7 @@ class Mahnwesen {
r.id
FROM ".$sql_tables;
$where = " r.belegnr <> ''";
$where = " r.belegnr <> '' AND r.status <> 'storniert'";
if (!empty($mahnwesen_stufe_filter)) {
$where .= " AND m.id = '".$mahnwesen_stufe_filter."' AND r.versendet_mahnwesen ";