add default account to frontend

This commit is contained in:
2015-10-26 07:49:10 +01:00
parent 0c92fdf167
commit 01da3c470c
45 changed files with 948 additions and 220 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace frontend\components;
use yii\base\Widget;
/**
* This is the model class for table "customer".
*
* @property string $viewFile
* @property common\models\ReceptionForm $model
* */
class ReceptionCustomerWidget extends Widget{
public $viewFile = '//common/_reception_customer';
public $model;
public function run(){
echo $this->render($this->viewFile,[ 'model' => $this->model ]);
}
}