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' => 'Termék kategóriák', 'url' => ['/product-category/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'] ];
$this->menuItems[] = ['label' => 'Törszadatok', 'url' =>$this->emptyUrl,
'items' => $items

View File

@ -15,10 +15,11 @@ return [
'modules' => [],
'components' => [
'request' => [
'csrfParam' => '_backendCSRF',
'csrfCookie' => [
'path' => '/backend/web',
],
'enableCsrfValidation'=>false,
// 'csrfParam' => '_backendCSRF',
// 'csrfCookie' => [
// 'path' => '/backend/web',
// ],
],
'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
csrf fixing
product - allow sale when count > stock

View File

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

View File

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

View File

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