Finish version/v.0.0.7

This commit is contained in:
Roland Schneider 2015-11-29 20:32:54 +01:00
commit 586efe783d
6 changed files with 14 additions and 7 deletions

View File

@ -58,7 +58,7 @@ class AdminMenuStructure{
$items[] = ['label' => 'Kedvezmények', 'url' => ['/discount/index'] ]; $items[] = ['label' => 'Kedvezmények', 'url' => ['/discount/index'] ];
$items[] = ['label' => 'Termék kategóriák', 'url' => ['/product-category/index'] ]; $items[] = ['label' => 'Termék kategóriák', 'url' => ['/product-category/index'] ];
$items[] = ['label' => 'Bérlet típusok', 'url' => ['/ticket-type/index'] ]; $items[] = ['label' => 'Bérlet típusok', 'url' => ['/ticket-type/index'] ];
// $items[] = ['label' => 'Kulcsok', 'url' =>['/key/index']]; $items[] = ['label' => 'Kulcsok', 'url' =>['/key/index']];
// $items[] = ['label' => 'Pénznem', 'url' => ['/currency/index'] ]; // $items[] = ['label' => 'Pénznem', 'url' => ['/currency/index'] ];
$this->menuItems[] = ['label' => 'Törszadatok', 'url' =>$this->emptyUrl, $this->menuItems[] = ['label' => 'Törszadatok', 'url' =>$this->emptyUrl,
'items' => $items 'items' => $items

View File

@ -15,10 +15,11 @@ return [
'modules' => [], 'modules' => [],
'components' => [ 'components' => [
'request' => [ 'request' => [
'csrfParam' => '_backendCSRF', 'enableCsrfValidation'=>false,
'csrfCookie' => [ // 'csrfParam' => '_backendCSRF',
'path' => '/backend/web', // 'csrfCookie' => [
], // 'path' => '/backend/web',
// ],
], ],
'user' => [ 'user' => [
'identityClass' => 'common\models\User', 'identityClass' => 'common\models\User',

View File

@ -1,3 +1,6 @@
-0.0.7
disable csrf in frontend and backend
reception account_state javascript fix
-0.0.6 -0.0.6
csrf fixing csrf fixing
product - allow sale when count > stock product - allow sale when count > stock

View File

@ -3,5 +3,5 @@ return [
'adminEmail' => 'rocho02@gmail.com', 'adminEmail' => 'rocho02@gmail.com',
'supportEmail' => 'rocho02@gmail.com', 'supportEmail' => 'rocho02@gmail.com',
'user.passwordResetTokenExpire' => 3600, 'user.passwordResetTokenExpire' => 3600,
'version' => 'v0.0.6' 'version' => 'v0.0.7'
]; ];

View File

@ -13,6 +13,9 @@ return [
'bootstrap' => ['log'], 'bootstrap' => ['log'],
'controllerNamespace' => 'frontend\controllers', 'controllerNamespace' => 'frontend\controllers',
'components' => [ 'components' => [
'request' => [
'enableCsrfValidation'=>false,
],
'user' => [ 'user' => [
'identityClass' => 'common\models\User', 'identityClass' => 'common\models\User',
'enableAutoLogin' => true, 'enableAutoLogin' => true,

View File

@ -122,7 +122,7 @@ function AccountState(o){
var money; var money;
money = accounting.formatNumber(app.money, 0, " "); // 9 876 543.210 money = accounting.formatNumber(app.money, 0, " "); // 9 876 543.210
$('.money').html(money); $('.money').html(money);
$('#accountstate-money').val(money); $('#accountstate-money').val(app.money +"");
} }
function updateLastMoney(){ function updateLastMoney(){