From 9e550f4c4f76cb49e2aff19607257eb2b9ded26a Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Tue, 11 Nov 2025 21:42:52 +0100 Subject: [PATCH] Fixed invoicing only one of several voicezones with same name --- application/Billing/BillingController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/Billing/BillingController.php b/application/Billing/BillingController.php index 9f0694e9f..7c4c0b915 100644 --- a/application/Billing/BillingController.php +++ b/application/Billing/BillingController.php @@ -153,7 +153,6 @@ class BillingController extends mfBaseController { $v = 0; $today = new DateTime("now"); - //$today = new DateTime("2026-01-09"); $today->setTime(0,0,0); $now_year = date("Y"); @@ -192,7 +191,7 @@ class BillingController extends mfBaseController { $contract_search = [ "finish_date<" => mktime(2,0,0,$now_month, $now_day, $now_year), "cancel_date_null_or_gte" => mktime(0,0,0,$now_month, 1, $now_year), - "owner_id" => 7719 + //"owner_id" => 7719 ]; foreach(ContractModel::search($contract_search) as $contract) {