Quick backup before crash

This commit is contained in:
Dennis Eichhorn 2023-06-13 18:55:51 +00:00
parent 011e5f840a
commit 5d0ab33726

View File

@ -94,19 +94,22 @@ final class BackendController extends Controller
->where('id', (int) $request->getData('id'))
->sort('files/id', 'DESC')
->execute();
$view->data['contract'] = $contract;
$contractTypes = ContractTypeMapper::getAll()
->with('l11n')
->where('l11n/language', $response->header->l11n->language)
->execute();
$view->data['contractTypes'] = $contractTypes;
$units = UnitMapper::getAll()
->execute();
$view->data['units'] = $units;
$view->data['editor'] = new \Modules\Editor\Theme\Backend\Components\Editor\BaseView($this->app->l11nManager, $request, $response);
$view->data['editor'] = new \Modules\Editor\Theme\Backend\Components\Editor\BaseView($this->app->l11nManager, $request, $response);
$view->data['media-upload'] = new \Modules\Media\Theme\Backend\Components\Upload\BaseView($this->app->l11nManager, $request, $response);
return $view;