Add transfer and account_state today view to reception

This commit is contained in:
2016-10-01 18:41:21 +02:00
parent d46e717b53
commit 8b6b506d17
13 changed files with 632 additions and 127 deletions

View File

@@ -24,7 +24,11 @@ if ( $model ->type == AccountState::TYPE_OPEN ){
}else{
$this->title = "Kassza zárás";
}
$this->params['breadcrumbs'][] = ['label' => Yii::t('frontend/account-state', 'Account States'), 'url' => ['index']];
if ( \common\components\Helper::isReceptionAccountStateIndexToday()){
$this->params['breadcrumbs'][] = ['label' => Yii::t('frontend/account-state', 'Account States'), 'url' => ['today']];
}else{
$this->params['breadcrumbs'][] = ['label' => Yii::t('frontend/account-state', 'Account States'), 'url' => ['index']];
}
$this->params['breadcrumbs'][] = $this->title;
?>