Add transfer and account_state today view to reception
This commit is contained in:
@@ -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;
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user