hide salary sum for user without access
This commit is contained in:
parent
ef9705ded0
commit
c9ce085289
@ -103,6 +103,8 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
],
|
||||
],
|
||||
]);
|
||||
if ( Yii::$app->user->can('confidential_information')) {
|
||||
echo "<h3>Сумма зарплат: " . $searchModel->total . "</h3>";
|
||||
}
|
||||
?>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user