31 lines
749 B
PHP
31 lines
749 B
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use backend\assets\ProcurementCreateAsset;
|
|
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\Procurement */
|
|
/* @var $warehouses common\models\Warehouse[] */
|
|
|
|
$this->title = Yii::t('common/procurement', 'Create Procurement');
|
|
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/procurement', 'Procurements'), 'url' => ['index']];
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
|
|
ProcurementCreateAsset::register($this);
|
|
|
|
$this->registerJs(' new ProcurementCreate( { } );');
|
|
|
|
?>
|
|
<div class="procurement-create">
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
|
|
<?= $this->render('_form', [
|
|
'model' => $model,
|
|
'warehouses' => $warehouses,
|
|
'accounts' => $accounts
|
|
]) ?>
|
|
|
|
</div>
|