mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-10 20:08:41 +00:00
general fixes
This commit is contained in:
parent
b5c0e681b9
commit
49c59c492a
|
|
@ -157,6 +157,9 @@ final class BackendController extends Controller
|
|||
->execute();
|
||||
|
||||
$view->setTemplate('/Modules/Helper/Theme/Backend/helper-view');
|
||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1002701001, $request, $response);
|
||||
|
||||
$view->data['unit'] = $this->app->unitId;
|
||||
|
||||
/** @var array<string, \Modules\Media\Models\Media> $tcoll */
|
||||
$tcoll = [];
|
||||
|
|
@ -222,7 +225,6 @@ final class BackendController extends Controller
|
|||
}
|
||||
|
||||
$view->data['report'] = $report;
|
||||
$view->data['unit'] = $this->app->unitId;
|
||||
$view->data['tcoll'] = $tcoll;
|
||||
$view->data['rcoll'] = $rcoll;
|
||||
$view->data['lang'] = ISO639x1Enum::tryFromValue($request->getDataString('lang')) ?? $request->header->l11n->language;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<div class="col-xs-12 col-md-9 col-simple">
|
||||
<div class="portlet col-simple">
|
||||
<div class="portlet-body col-simple">
|
||||
<iframe class="col-simple" data-form="iUiSettings" data-name="iframeHelper" id="iHelperFrame" src="<?= UriFactory::build('{/api}helper/report/export/?{?}&id=' . $template->id . '&csrf={$CSRF}'); ?>&u=<?= $this->data['unit']; ?>" allowfullscreen></iframe>
|
||||
<iframe class="col-simple" data-form="iUiSettings" data-name="iframeHelper" id="iHelperFrame" src="<?= UriFactory::build('{/api}helper/report/export/?{?}&id=' . $template->id . '&csrf={$CSRF}'); ?>&u=<?= $this->data['unit']; ?>" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user