add changes to backend transfers2
This commit is contained in:
@@ -30,6 +30,9 @@ class AdminMenuStructure{
|
||||
$userMainMenu = null;
|
||||
$items = [];
|
||||
|
||||
//$today = \Yii::$app->formatter->asDate( time() );
|
||||
$today = \Yii::$app->formatter->asDate( strtotime('today UTC') );
|
||||
$tomorrow = \Yii::$app->formatter->asDate( ( 60 *60 *24 + time()));
|
||||
|
||||
// if ( $this->can('backend.user.index')){
|
||||
$items[] = ['label' => 'Felhasználók', 'url' =>['/user/index']];
|
||||
@@ -45,7 +48,11 @@ class AdminMenuStructure{
|
||||
$items[] = ['label' => 'Vendégek', 'url' => ['/customer/index'] ];
|
||||
$items[] = ['label' => 'Bérletkártyák', 'url' => ['/card/index'] ];
|
||||
$items[] = ['label' => 'Pénznem', 'url' => ['/currency/index'] ];
|
||||
$items[] = ['label' => 'Tranzakciók', 'url' => ['/transfer/index'] ];
|
||||
|
||||
|
||||
|
||||
|
||||
$items[] = ['label' => 'Tranzakciók', 'url' => ['/transfer/index' , 'TransferSearch[start]' =>$today,'TransferSearch[end]' => $tomorrow ] ];
|
||||
$items[] = ['label' => 'Kassza müveletek', 'url' => ['/account-state/index'] ];
|
||||
|
||||
if ( count($items) > 0 ){
|
||||
|
||||
Reference in New Issue
Block a user