add indexes, add messagedetsta

This commit is contained in:
2016-01-29 17:13:33 +01:00
parent ad59cbb940
commit a00331ce7c
65 changed files with 3195 additions and 92 deletions

View File

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