-
-
-
-
+
+
element->getValueOptions();
$valueKey= $this->element->getValue();
$activePortals = array();
if ($valueKey && !empty($valueKey)):
+
+ $this->plugin('currencyformat')->setCurrencyCode('EUR');
+ $dispPrice = function($d) { return sprintf('%01.2f €', $d); };
+ $total = 0;
foreach ($options as $category => $categoryOptions):
foreach ($categoryOptions['options'] as $channelName => $channel):
if (in_array($channelName, $valueKey)):
@@ -28,21 +30,69 @@ if ($this->renderSummary):?>
endforeach;
endforeach;
- foreach ($activePortals as $category => $channels):
+ ?>
+
+
- ?>
+ $channels):?>
+
+ |
+ translate('Price') ?> |
+
$spec):
$data = explode('|', $spec);
- ?> —
- ' . $data[3] . '') ?>
-
|
+ |
+
+
+
+ translate('Total') ?> |
+ currencyFormat($total); ?> |
---|
-formRow()->render($this->element, /* ignoreViewPartial */ true);
-endif; // ($this->renderSummary) ?>
\ No newline at end of file
+formRow()->render($this->element, /* ignoreViewPartial */ true);
+
+
+ ?>
+
+
+
+ %name - %headline
+ %desc
+
+
+ %nicePrice
+
+
+ ';
+
+ $selectTmpl = '
+ %name ( %duration ) [ %nicePrice ]
+ ';
+
+
+ ?>