add reception account state view and pdf export

This commit is contained in:
2016-01-08 14:06:55 +01:00
parent da29702a79
commit e8df61f123
30 changed files with 1190 additions and 288 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace common\components\total;
use yii\base\Widget;
class TotalBaseWidget extends Widget{
public $dailyListing;
public $viewPath = '@common/views/total';
public $viewFile = 'totaleasy.php';
public $view;
public function init(){
$this->view = $this->viewPath . "/" . $this->viewFile;
}
public function run(){
echo $this->render($this->view,[ 'model' => $this->dailyListing ]);
}
}