Files
crm.clientright.ru/test/templates_c/v7/2bc8eb2937af9ee9437981d35434991a2b9f7b51.file.SettingsMenuStart.tpl.php
Fedor ee1c4af5c3 feat: добавлен выбор банка для СБП выплат
Frontend:
- Динамическая загрузка 226 банков из NSPK API
- Выбор банка добавлен в Step3Payment (новая заявка)
- Выбор банка добавлен в generateConfirmationFormHTML (редактирование)
- Поля: bank_id (ID из NSPK) и bank_name (название для отображения)

Backend:
- Добавлено поле bank_id в ClaimCreateRequest

API:
- http://212.193.27.93/api/payouts/dictionaries/nspk-banks

Изменения:
- ticket_form/frontend/src/components/form/Step3Payment.tsx
- ticket_form/frontend/src/components/form/generateConfirmationFormHTML.ts
- ticket_form/frontend/src/pages/ClaimForm.tsx
- ticket_form/backend/app/api/models.py
2025-12-02 11:06:15 +03:00

89 lines
3.3 KiB
PHP

<?php /* Smarty version Smarty-3.1.7, created on 2025-12-01 14:36:15
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/ITS4YouInstaller/SettingsMenuStart.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1410852820692d7daf66df77-69442568%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2bc8eb2937af9ee9437981d35434991a2b9f7b51' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/ITS4YouInstaller/SettingsMenuStart.tpl',
1 => 1715158481,
2 => 'file',
),
),
'nocache_hash' => '1410852820692d7daf66df77-69442568',
'function' =>
array (
),
'variables' =>
array (
'QUALIFIED_MODULE' => 0,
'FIELDS_INFO' => 0,
'USER_MODEL' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_692d7daf6b4c5',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_692d7daf6b4c5')) {function content_692d7daf6b4c5($_smarty_tpl) {?>
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/Topbar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<div class="container-fluid app-nav">
<div class="row">
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/SidebarHeader.tpl",$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModuleHeader.tpl",$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div>
</div>
</nav>
<div id='overlayPageContent' class='fade modal overlayPageContent content-area overlay-container-300' tabindex='-1' role='dialog' aria-hidden='true'>
<div class="data">
</div>
<div class="modal-dialog">
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?>
<script type="text/javascript">
var uimeta = (function() {
var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
;
return {
field: {
get: function(name, property) {
if(name && property === undefined) {
return fieldInfo[name];
}
if(name && property) {
return fieldInfo[name][property]
}
},
isMandatory : function(name){
if(fieldInfo[name]) {
return fieldInfo[name].mandatory;
}
return false;
},
getType : function(name){
if(fieldInfo[name]) {
return fieldInfo[name].type
}
return false;
}
},
};
})();
</script>
<?php }?>
<div class="main-container clearfix">
<?php $_smarty_tpl->tpl_vars['LEFTPANELHIDE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('leftpanelhide'), null, 0);?>
<div class="module-nav clearfix settingsNav" id="modnavigator">
<div class="hidden-xs hidden-sm height100Per">
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Vtiger/Sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div>
</div>
<div class="settingsPageDiv content-area clearfix">
<?php }} ?>