add reception account state view and pdf export
This commit is contained in:
21
common/components/total/TotalBaseWidget.php
Normal file
21
common/components/total/TotalBaseWidget.php
Normal 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 ]);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user