public function actionValidateOrder($id, $sp) { $this->layout = 'e-commerceHome'; $dataValidasiModel = new ecommerceDataValidasi(); return $this->render('dataValidasi', ['model' => $dataValidasiModel->validating($id), 'model2' => $dataValidasiModel->insert_pengiriman($id, $sp), 'model2' => $dataValidasiModel->insert_so($id)]); }
<?php /* @var $this yii\web\View */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\ActiveForm; use app\models\ecommerceDataValidasi; $dataValidasiModel = new ecommerceDataValidasi(); $this->title = 'Data Validasi'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="col-md-12"> <div class="widget widget-green"> <div class="widget-title"> <div class="widget-controls"> <a href="#" class="widget-control widget-control-full-screen" data-toggle="tooltip" data-placement="top" title="" data-original-title="Full Screen"><i class="fa fa-expand"></i></a> <a href="#" class="widget-control widget-control-full-screen widget-control-show-when-full" data-toggle="tooltip" data-placement="left" title="" data-original-title="Exit Full Screen"><i class="fa fa-expand"></i></a> <a href="#" class="widget-control widget-control-refresh" data-toggle="tooltip" data-placement="top" title="" data-original-title="Refresh"><i class="fa fa-refresh"></i></a> <a href="#" class="widget-control widget-control-minimize" data-toggle="tooltip" data-placement="top" title="" data-original-title="Minimize"><i class="fa fa-minus-circle"></i></a> </div> <h3><i class="fa fa-ok-circle"></i><?php echo Html::encode($this->title); ?> </h3> </div> <div class="widget-content"> <div class="row"> <div class="col-md-12"> <table class="table"> <thead>
<?php /* @var $this yii\web\View */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use app\models\ecommerceDataValidasi; $dataValidasiModel = new ecommerceDataValidasi(); $detailValidasi = $dataValidasiModel->findDetailValidasi(Yii::$app->request->get()['id']); $this->title = 'Data Validasi'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="col-md-12"> <div class="widget widget-green"> <div class="widget-title"> <div class="widget-controls"> <a href="#" class="widget-control widget-control-full-screen" data-toggle="tooltip" data-placement="top" title="" data-original-title="Full Screen"><i class="fa fa-expand"></i></a> <a href="#" class="widget-control widget-control-full-screen widget-control-show-when-full" data-toggle="tooltip" data-placement="left" title="" data-original-title="Exit Full Screen"><i class="fa fa-expand"></i></a> <a href="#" class="widget-control widget-control-refresh" data-toggle="tooltip" data-placement="top" title="" data-original-title="Refresh"><i class="fa fa-refresh"></i></a> <a href="#" class="widget-control widget-control-minimize" data-toggle="tooltip" data-placement="top" title="" data-original-title="Minimize"><i class="fa fa-minus-circle"></i></a> </div> <h3><i class="fa fa-ok-circle"></i><?php echo Html::encode($this->title); ?> </h3> </div> <div class="widget-content"> <div class="row"> <div class="col-md-12"> <table class="table"> <tbody>