From 10752eee1600d4bcebd8c7376a959b2e23847d30 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 30 Jan 2024 21:29:21 +0000 Subject: [PATCH] bump --- Controller/BackendController.php | 4 ++-- Theme/Backend/item-view.tpl.php | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 1e1aa47..26df7d0 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -262,8 +262,8 @@ final class BackendController extends Controller foreach ($results as $result) { if (!isset($reserved[(int) $result['billing_bill_element_item']])) { - $reserved[$t->item] = 0; - $ordered[$t->item] = 0; + $reserved[(int) $result['billing_bill_element_item']] = 0; + $ordered[(int) $result['billing_bill_element_item']] = 0; } if ($result['billing_type_name'] === 'sales_order_confirmation') { diff --git a/Theme/Backend/item-view.tpl.php b/Theme/Backend/item-view.tpl.php index 42f395a..b94934f 100644 --- a/Theme/Backend/item-view.tpl.php +++ b/Theme/Backend/item-view.tpl.php @@ -258,6 +258,8 @@ echo $this->data['nav']->render(); with('client') + ->with('client/account') ->with('type') ->with('type/l11n') ->where('type/transferType', BillTransferType::SALES)