add reception account state view and pdf export
This commit is contained in:
22
common/components/total/TotalEasyWidget.php
Normal file
22
common/components/total/TotalEasyWidget.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
namespace common\components\total;
|
||||
use yii\base\Widget;
|
||||
|
||||
class TotalEasyWidget 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 ]);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user