add employee module

This commit is contained in:
iIronside
2021-11-16 13:14:28 +03:00
parent f7c8ab4de6
commit e561687b09
30 changed files with 4503 additions and 26 deletions

View File

@ -0,0 +1,20 @@
<?php
use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\employee\models\Manager */
$this->title = 'Изменить менеджера: ' . ArrayHelper::getValue($model,'user.username');
$this->params['breadcrumbs'][] = ['label' => 'Managers', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="manager-update">
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>