<?php

use yii\helpers\Url;
\shifrin\noty\NotyWidget::widget(['options' => ['dismissQueue' => true, 'layout' => 'topRight', 'modal' => true, 'maxVisible' => 10, 'theme' => 'defaultTheme', 'timeout' => 2000, 'template' => '<div class="noty_message"><span class="noty_text"></span><div class="noty_close"></div></div>', 'closeWith' => ['click'], 'killer' => false], 'enableSessionFlash' => true, 'enableIcon' => true, 'registerAnimateCss' => true, 'registerButtonsCss' => true, 'registerFontAwesomeCss' => true]);
?>

<div id="customContainer"></div>
<?php 
$this->registerJsFile(Url::home() . 'resources/jsmodules/noty.js', ['depends' => [app\assets\DashboardAsset::className(), shifrin\noty\NotyAsset::className()]], \yii\web\View::POS_END);
<?php

use yii\helpers\Html;
use yii\helpers\Url;
?>

<?php 
echo $this->render('@app/views/layouts/_modules/_title', Yii::$app->controller->_pagetitle);
?>

<div class="box box-primary">
	<?php 
echo $this->render('@app/views/layouts/_modules/_menu-crud', ['title' => 'Tambah Transaksi', 'buttons' => Yii::$app->controller->_buttons]);
?>
	<?php 
echo $this->render('_form', ['model' => $model, 'transid' => $transid, 'searchModel' => $detailModel, 'dataProvider' => $detailProvider, 'rows' => $rows]);
?>

</div>

<?php 
$this->registerJsFile(Url::home() . 'resources/jsmodules/transactions.js', ['depends' => [app\assets\DashboardAsset::className()]], \yii\web\View::POS_END);