mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-01-11 07:18:40 +00:00
crash backup
This commit is contained in:
parent
fa7b53040d
commit
d304c638ac
|
|
@ -118,7 +118,7 @@ final class BackendController extends Controller
|
|||
/** @var \Modules\Profile\Models\Profile $profile */
|
||||
$profile = $request->hasData('for')
|
||||
? $mapperQuery->where('account', (int) $request->getData('for'))->execute()
|
||||
: $mapperQuery->where('id', (int) $request->getData('id'))->execute();
|
||||
: $mapperQuery->where('id', $request->getDataInt('id') ?? 0)->execute();
|
||||
|
||||
$view->data['account'] = $profile;
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ echo $this->data['nav']->render();
|
|||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<label for="iAccount"><?= $this->getHtml('Account'); ?></label>
|
||||
<?= $this->getData('accGrpSelector')->render('iAccount', ''); ?>
|
||||
<?= $this->data['accGrpSelector']->render('iAccount', ''); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
|
|
|
|||
|
|
@ -144,13 +144,13 @@ echo $this->data['nav']->render();
|
|||
</div>
|
||||
|
||||
<div class="col-xs-12">
|
||||
<?= $this->getData('medialist')->render($media); ?>
|
||||
<?= $this->data['medialist']->render($media); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<?= $this->getData('calendar')->render(null /* calendar object here */); ?>
|
||||
<?= $this->data['calendar']->render(null /* calendar object here */); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user