diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 46c9974..81d7397 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -55,7 +55,7 @@ final class BackendController extends Controller ->with('defaults/l11n') ->where('name', ['segment', 'section', 'sales_group', 'product_group'], 'IN') ->where('l11n/language', $response->header->l11n->language) - ->where('defaults/l11n/language', $response->header->l11n->language) + ->where('defaults/l11n/language', [$response->header->l11n->language, null]) ->executeGetArray(); $segmentation = []; diff --git a/Theme/Backend/budgeting-dashboard.tpl.php b/Theme/Backend/budgeting-dashboard.tpl.php index ad45e44..3f5cac8 100644 --- a/Theme/Backend/budgeting-dashboard.tpl.php +++ b/Theme/Backend/budgeting-dashboard.tpl.php @@ -106,6 +106,14 @@ echo $this->data['nav']->render(); overflow: clip; align-items: start !important; } + + .detail-name { + align-self:first baseline; flex: 1; + } + + .detail-data div { + height: 30px; display: flex; align-items: center; + }
@@ -152,21 +160,21 @@ echo $this->data['nav']->render();
printHtml($segment->l11n); ?>
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
data['segmentation']['section']->defaults as $section) : ?> @@ -178,21 +186,21 @@ echo $this->data['nav']->render();
printHtml($section->l11n); ?>
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
data['segmentation']['sales_group']->defaults as $salesgroup) : ?> @@ -204,24 +212,24 @@ echo $this->data['nav']->render();
printHtml($salesgroup->l11n); ?>
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
- data['segmentation']['product_group']->defaults as $productgroup) : ?> + data['segmentation']['product_group']->defaults*/ as $productgroup) : ?>
@@ -230,54 +238,30 @@ echo $this->data['nav']->render();
-
printHtml($productgroup->l11n); ?>
-
-
getHtml('A'); ?>
-
getHtml('Q'); ?>
-
getHtml('P'); ?>
+
printHtml($productgroup->l11n); ?>
+
+
getHtml('A'); ?>
+
getHtml('Q'); ?>
+
getHtml('P'); ?>
-
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
-
- data['items'] ?? [] as $item) : ?> -
-
-
printHtml($item->l11n); ?>
-
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
+0.00%
-
- +
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%
+
+0.00%