add change card, add customer tab

This commit is contained in:
2016-01-25 23:09:43 +01:00
parent 8d29f47d49
commit 9fb349ee64
19 changed files with 241 additions and 38 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace frontend\components;
use yii\base\Widget;
class CustomerTabWidget extends Widget{
public $card;
public $title;
public $viewFile = '//common/_customer_tab';
public function init(){
parent::init();
}
public function run(){
echo $this->render($this->viewFile,[ 'card' => $this->card ,'title' => $this->title ]);
}
}