add new experimental environment cutlergyor

This commit is contained in:
Schneider Roland
2022-04-23 20:45:12 +02:00
parent 24d67f56d8
commit fb39d6599e
180 changed files with 3483 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
return [
'components' => [
'db' => [
'class' => 'yii\db\Connection',
// 'dsn' => 'mysql:host=fitnessadmin.hu;dbname=cutler_prod',
'dsn' => 'mysql:host=172.17.0.1;dbname=cutler_prod',
//'dsn' => 'mysql:host=92.119.120.214;dbname=cutler_prod',
'username' => 'cutlerweb',
'password' => 'cutler2016!',
'charset' => 'utf8',
],
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mail',
'useFileTransport' =>false,
'transport' => [
'class' => 'Swift_SmtpTransport',
'host' => 'smtp.websiter.hu',
'username' => 'info@rocho-net.hu',
'password' => 'botond2015',
'port' => '25',
],
],
],
];

View File

@@ -0,0 +1,39 @@
<?php
return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
// 'language' => 'hu-HU',
'timezone' => 'Europe/Budapest',
'language' => 'hu',
'components' => [
'cache' => [
'class' => 'yii\caching\FileCache',
],
'i18n' => [
'translations' => [
'*' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@common/messages',
],
],
],
'formatter' => [
'class' => 'yii\i18n\Formatter',
'dateFormat' => 'yyyy.MM.dd',
'datetimeFormat' => 'yyyy.MM.dd HH:mm',
'timeFormat' => 'HH:mm',
'locale' => 'hu-Hu',
// 'timeZone' => 'Europe/Budapest',
'timeZone' => 'UTC',
// 'defaultTimeZone' => 'UTC',
'nullDisplay' => "-",
],
'authManager' => [
'class' => 'yii\rbac\DbManager'
],
'assetManager' =>[
'appendTimestamp' => true
]
],
];

View File

@@ -0,0 +1,25 @@
<?php
return [
'user.passwordResetTokenExpire' => 3600,
'company' => 'gyor',//gyor
'company_name' => "Cutler Four kft.",
'product_visiblity' => 'global',// on reception which products to dis
'notify_mail' => ['rocho02@gmail.com' ],
'mail_account_state_open' => false,
'login_reception_email' => false, //if reception login should send email
'login_admin_email' => true, //if admin login should send email
'account_state_close_preload_money' => 'true',//preload money wnen s
'ugiro_duplom_kod' => 1,
'ugiro_kezdemenyezo_szamlaszam' => '1173700723721449',
'ugiro_kezdemenyezo_azonosito' => 'A25006285',
'backend_skin' => 'skin-green',
'user_cart_item_visibility' => 'all',
'user_cart_on' => false,
'product_sale_default_focus' => 'autocomplete',
'ticket_create_price_editable' => false,
'reception_account_state_index_only_today' => true,
'reception_transfer_list_only_today' => true,
'reception_show_stock' => false,
'login_admin_email' => false,
'warn_ticket_expire_in_usage_count' => 10
];

View File

@@ -0,0 +1,68 @@
<?php
return [
'development' => false,
'adminEmail' => 'rocho02@gmail.com',
'supportEmail' => 'rocho02@gmail.com',
'infoEmail' => 'info@rocho-net.hu',
'user.passwordResetTokenExpire' => 3600,
'version' => 'v0.1.25',
'company' => 'movar',//gyor
'company_name' => "Freimann Kft.",
'product_visiblity' => 'account',// on reception which products to display. account or global
'notify_mail' => ['rocho02@gmail.com' ],
/**Kassza nyitáskor küldjünk email-t?*/
'mail_account_state_open' => true,
/**Kassza záráskor küldjünk email-t?*/
'mail_account_state_close' => false,
'login_reception_email' => false, //if reception login should send email
'login_admin_email' => false, //if admin login should send email
'account_state_close_preload_money' => 'true',//preload money wnen show account state close page
'ugiro_duplom_kod' => 1,
'ugiro_kezdemenyezo_szamlaszam' => '000000000000000',//5860025215371128
'ugiro_kezdemenyezo_azonosito' => 'A25006285',//
//a recepicó kosár csak az aktuális user által kiadott termékeket tartalmazza
//vagy mindent
//értékek user|all
// * - user: a felhasználó csak azokat a termékeket látja a kosrába, amiket ő rakott bele
// - all: a felhasználó minden kosrában lévő terméket lát, még azokat is , amiket nem ő rakott bele
'user_cart_item_visibility' => 'user',
/**
* Hány napig láthatják visszamenőleg a recepciósok az adatokat
* */
'reception_visibility_days' => 3,
'reception_account_state_index_only_today' => false,
'reception_transfer_list_only_today' => false,
'reception_show_stock' => true,
'backend_skin' => 'skin-red', //skin-green
/**User cart module on/off*/
'user_cart_on' => true,
/**
* a termék eladás oldalon hol legyen az alaéprtelmezett focus
* a vonalkód mezőn vagy az autocomplete mezőn
barcode | autocomplete */
'product_sale_default_focus' => 'barcode',
/**
* Bérlet eladásnál módosítható e az ár
* */
'ticket_create_price_editable' => true,
'warn_ticket_expire_enabled' => false,
'warn_ticket_expire_days' =>[
[
'day' => 5,
]
],
'newsletter_from' => 'noreply@fitnessadmin.hu',
'newsletter_enabled' => false,
/**
* if true, key in/out events will generate doorlog events
*/
'key_toggle_door_log_enabled' => false,
//if key required for entry trough the door
'key_required' => true,
'ticket_type_door_allowed_check_on' => false,
'warn_ticket_expire_in_days_count' => 3,
'warn_ticket_expire_in_usage_count' => 3,
'inventory.products.only.active' => true
];