add reception customer search, fix reception ticket types, fix card number routing, timezone changes
This commit is contained in:
@@ -23,8 +23,8 @@ class FrontendMenuStructure{
|
||||
public function __construct(){
|
||||
$this->menuItems = [];
|
||||
|
||||
$this->start = \Yii::$app->formatter->asDatetime( strtotime('today') );
|
||||
$this->tomorrow = Yii::$app->formatter->asDatetime( strtotime('tomorrow') );
|
||||
$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') );
|
||||
$this->tomorrowDate = Yii::$app->formatter->asDate( strtotime('tomorrow UTC') );
|
||||
|
||||
@@ -84,6 +84,8 @@ class FrontendMenuStructure{
|
||||
$items[] = ['label' => Yii::t('frontend/transfer','Transfers'), 'url' => ['/transfer/index', 'TransferSearch[id_user]' =>\Yii::$app->user->id, 'TransferSearch[id_account]' => Account::readDefault(), 'TransferSearch[start]' => $this->start, 'TransferSearch[end]' => $this->tomorrow ] ];
|
||||
$items[] = ['label' => Yii::t('frontend/collection','Collections'), 'url' => ['/collection/index' , 'CollectionSearch[start]' =>$this->start,'CollectionSearch[end]' => $this->tomorrow ] ];
|
||||
}
|
||||
|
||||
$items[] = ['label' => Yii::t('frontend/card','Vendégek'), 'url' => [ '/card/index' ] ];
|
||||
|
||||
|
||||
$this->menuItems[] = ['label' => Yii::t('frontend/account', 'Account'),
|
||||
|
||||
Reference in New Issue
Block a user