add reception account state view and pdf export
This commit is contained in:
@@ -19,10 +19,12 @@ class FrontendMenuStructure{
|
||||
|
||||
public $startDate;//start date
|
||||
public $tomorrowDate;//tomorrow date
|
||||
public $yesterDay;//yesterday date
|
||||
|
||||
public function __construct(){
|
||||
$this->menuItems = [];
|
||||
|
||||
$this->yesterDay = \Yii::$app->formatter->asDatetime( strtotime('yesterday UTC') );
|
||||
$this->start = \Yii::$app->formatter->asDatetime( strtotime('today UTC') );
|
||||
$this->tomorrow = Yii::$app->formatter->asDatetime( strtotime('tomorrow UTC') );
|
||||
$this->startDate = Yii::$app->formatter->asDate( strtotime('today UTC') );
|
||||
@@ -66,7 +68,7 @@ class FrontendMenuStructure{
|
||||
|
||||
$items = [
|
||||
['label' => Yii::t('frontend/account-state','Default account'), 'url' => ['/account/select'] ],
|
||||
['label' => Yii::t('frontend/account-state', 'Account states'), 'url' => ['/account-state/index'] ],
|
||||
['label' => Yii::t('frontend/account-state', 'Account states'), 'url' => ['/account-state/index' ,'AccountstateSearch[id_account]' => Account::readDefault(), 'AccountstateSearch[start]' => $this->yesterDay] ],
|
||||
['label' => Yii::t('frontend/account-state','Open account state'), 'url' => ['/account-state/open'] ],
|
||||
['label' => Yii::t('frontend/account-state','Close account state'), 'url' => ['/account-state/close'] ],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user