data['tcoll'] ?? []; /** @var \Modules\Media\Models\Collection[] $rcoll */ $rcoll = $this->data['rcoll'] ?? []; /** @var string $cLang */ $cLang = $this->data['lang'] ?? 'en'; /** @var \Modules\Script\Models\Template $template */ $template = $this->data['template'] ?? new NullTemplate(); /** @var \Modules\Script\Models\Report $report */ $report = $this->data['report'] ?? new NullReport(); /** @noinspection PhpIncludeInspection */ /** @var array> $reportLanguage */ $reportLanguage = isset($tcoll['lang']) ? include __DIR__ . '/../../../../' . \ltrim($tcoll['lang']->getPath(), '/') : []; /** @var array $lang */ $lang = $reportLanguage[$cLang] ?? []; $settings = isset($tcoll['cfg']) ? \json_decode(\file_get_contents(__DIR__ . '/../../../../' . \ltrim($tcoll['cfg']->getPath(), '/')), true) : []; // @todo Implement direct print instead of opening a new window with // `document.getElementById('iHelperFrame').contentWindow.print();` // https://github.com/Karaka-Management/oms-Helper/issues/1 echo $this->data['nav']->render(); ?>
getHtml('Reports'); ?>
isStandalone) : ?>
getHtml('Export'); ?>
getHtml('Export'); ?>
getHtml('Settings'); ?>
request->getData($element['attributes']['name'] ?? '')); ?>
getHtml('Info'); ?>
isStandalone && !($report instanceof \Modules\Script\Models\NullReport) ) : ?>
getHtml('Report'); ?>
getHtml('Name'); ?> printHtml($report->title); ?>
getHtml('Creator'); ?> printHtml($report->createdBy->name1); ?>
getHtml('Created'); ?> createdAt->format('Y-m-d'); ?>
getHtml('Template'); ?>
getHtml('Name'); ?> printHtml($template->name); ?>
getHtml('Creator'); ?> printHtml($template->createdBy->name1); ?>
getHtml('Created'); ?> createdAt->format('Y-m-d'); ?>
getHtml('Tags'); ?>
tags as $tag) : ?> icon) ? '' : '' . $this->printHtml($tag->icon) . ''; ?> printHtml($tag->getL11n()); ?>