<?php
/* Smarty version 4.3.4, created on 2026-01-07 16:14:00
  from '/home/xdynucu/www/modules/ets_migrate/views/templates/hook/bo-migrate.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.4',
  'unifunc' => 'content_695e7838b3b8e5_78929119',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '07217941ab455dcb9bd1e31dcd4688fbb7246b5d' => 
    array (
      0 => '/home/xdynucu/www/modules/ets_migrate/views/templates/hook/bo-migrate.tpl',
      1 => 1716307060,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_695e7838b3b8e5_78929119 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/xdynucu/www/vendor/smarty/smarty/libs/plugins/modifier.count.php','function'=>'smarty_modifier_count',),));
?>

<h4 class="ets_em_title_block"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Source store information','mod'=>'ets_migrate'),$_smarty_tpl ) );?>
</h4>
<div class="form-group-content">
	<p><span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Source site URL','mod'=>'ets_migrate'),$_smarty_tpl ) );?>
</span>: <span class="ETS_EM_DOMAIN"><b><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['configs_value']->value['ETS_EM_DOMAIN'],'html','UTF-8' ));?>
</b></span></p>
	<p><span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Platform','mod'=>'ets_migrate'),$_smarty_tpl ) );?>
</span>: <b>PrestaShop (<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['configs_value']->value['ETS_EM_MIGRATE_VERSION'],'html','UTF-8' ));?>
)</b></p>
</div>
<h4 class="ets_em_title_block"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Data entities to migrate','mod'=>'ets_migrate'),$_smarty_tpl ) );?>
</h4>
<?php if ((isset($_smarty_tpl->tpl_vars['configs_value']->value['ETS_EM_DATA_TO_MIGRATE'])) && is_array($_smarty_tpl->tpl_vars['configs_value']->value['ETS_EM_DATA_TO_MIGRATE']) && smarty_modifier_count($_smarty_tpl->tpl_vars['configs_value']->value['ETS_EM_DATA_TO_MIGRATE']) > 0 && (isset($_smarty_tpl->tpl_vars['resources']->value)) && is_array($_smarty_tpl->tpl_vars['resources']->value) && smarty_modifier_count($_smarty_tpl->tpl_vars['resources']->value) > 0) {?>
	<div class="form-group-content">
        <ul class="ets_em_data_to_migrate">
    	<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['resources']->value, 'resource', false, 'data');
$_smarty_tpl->tpl_vars['resource']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['data']->value => $_smarty_tpl->tpl_vars['resource']->value) {
$_smarty_tpl->tpl_vars['resource']->do_else = false;
?>
    		<?php if (call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'intval' ][ 0 ], array( $_smarty_tpl->tpl_vars['resource']->value['position'] )) > 0 && in_array($_smarty_tpl->tpl_vars['data']->value,$_smarty_tpl->tpl_vars['configs_value']->value['ETS_EM_DATA_TO_MIGRATE']) && (isset($_smarty_tpl->tpl_vars['info']->value['nb'][$_smarty_tpl->tpl_vars['data']->value]['nb'])) && call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'intval' ][ 0 ], array( $_smarty_tpl->tpl_vars['info']->value['nb'][$_smarty_tpl->tpl_vars['data']->value]['nb'] )) > 0) {?>
    			<li class="ets_em_data_group <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value,'quotes','UTF-8' ));?>
">
    				<svg class="selected_icon w_20 h_20" width="20" height="20" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1412 734q0-28-18-46l-91-90q-19-19-45-19t-45 19l-408 407-226-226q-19-19-45-19t-45 19l-91 90q-18 18-18 46 0 27 18 45l362 362q19 19 45 19 27 0 46-19l543-543q18-18 18-45zm252 162q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/></svg>
                    <span class="group_name"><?php echo $_smarty_tpl->tpl_vars['resource']->value['name'];?>
</span>&nbsp;<span class="group_value"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'intval' ][ 0 ], array( $_smarty_tpl->tpl_vars['info']->value['nb'][$_smarty_tpl->tpl_vars['data']->value]['nb'] ));?>
&nbsp;<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'item','mod'=>'ets_migrate'),$_smarty_tpl ) );
if (call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'intval' ][ 0 ], array( $_smarty_tpl->tpl_vars['info']->value['nb'][$_smarty_tpl->tpl_vars['data']->value]['nb'] )) > 1) {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'s','mod'=>'ets_migrate'),$_smarty_tpl ) );
}?></span>
    			</li>
    		<?php }?>
    	<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
    	</ul>
    </div>
<?php }?>
<h4 class="ets_em_title_block"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Migration options','mod'=>'ets_migrate'),$_smarty_tpl ) );?>
</h4>
<div class="form-group-content ets_em_migrate_option">
	<?php if ((isset($_smarty_tpl->tpl_vars['ETS_EM_SUPPLIER_DEFAULT']->value)) && call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['ETS_EM_SUPPLIER_DEFAULT']->value )) !== '') {?>
	<p data-id="ETS_EM_SUPPLIER_DEFAULT">
		<svg class="selected_icon w_20 h_20" width="20" height="20" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1412 734q0-28-18-46l-91-90q-19-19-45-19t-45 19l-408 407-226-226q-19-19-45-19t-45 19l-91 90q-18 18-18 46 0 27 18 45l362 362q19 19 45 19 27 0 46-19l543-543q18-18 18-45zm252 162q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/></svg>
		<span class="group_name ets_em_supplier_default"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Default Supplier','mod'=>'ets_migrate'),$_smarty_tpl ) );?>
</span>:
		<span class="ETS_EM_SUPPLIER_DEFAULT"><b><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['ETS_EM_SUPPLIER_DEFAULT']->value,'html','UTF-8' ));?>
</b></span>
	</p>
	<?php }?>
    <?php if ((isset($_smarty_tpl->tpl_vars['ETS_EM_MANUFACTURER_DEFAULT']->value)) && call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['ETS_EM_MANUFACTURER_DEFAULT']->value )) !== '') {?>
		<p data-id="ETS_EM_MANUFACTURER_DEFAULT">
			<svg class="selected_icon w_20 h_20" width="20" height="20" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1412 734q0-28-18-46l-91-90q-19-19-45-19t-45 19l-408 407-226-226q-19-19-45-19t-45 19l-91 90q-18 18-18 46 0 27 18 45l362 362q19 19 45 19 27 0 46-19l543-543q18-18 18-45zm252 162q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/></svg>
			<span class="group_name ets_em_supplier_default"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Default Manufacturer','mod'=>'ets_migrate'),$_smarty_tpl ) );?>
</span>:
			<span class="ETS_EM_MANUFACTURER_DEFAULT"><b><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['ETS_EM_MANUFACTURER_DEFAULT']->value,'html','UTF-8' ));?>
</b></span>
		</p>
    <?php }
if ((isset($_smarty_tpl->tpl_vars['configs']->value)) && is_array($_smarty_tpl->tpl_vars['configs']->value) && smarty_modifier_count($_smarty_tpl->tpl_vars['configs']->value) > 0 && (isset($_smarty_tpl->tpl_vars['configs_value']->value)) && is_array($_smarty_tpl->tpl_vars['configs_value']->value) && smarty_modifier_count($_smarty_tpl->tpl_vars['configs_value']->value) > 0) {?>
	<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['configs']->value, 'field', false, 'id');
$_smarty_tpl->tpl_vars['field']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['id']->value => $_smarty_tpl->tpl_vars['field']->value) {
$_smarty_tpl->tpl_vars['field']->do_else = false;
?>
		<?php if ((isset($_smarty_tpl->tpl_vars['field']->value['group'])) && call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['field']->value['group'] )) === 'option' && call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['id']->value )) != 'ETS_EM_DATA_TO_MIGRATE') {?>
			<p data-id="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['id']->value,'html','UTF-8' ));?>
">
                <svg class="selected_icon w_20 h_20" width="20" height="20" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1412 734q0-28-18-46l-91-90q-19-19-45-19t-45 19l-408 407-226-226q-19-19-45-19t-45 19l-91 90q-18 18-18 46 0 27 18 45l362 362q19 19 45 19 27 0 46-19l543-543q18-18 18-45zm252 162q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/></svg>
                <span class="group_name <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( mb_strtolower((string) $_smarty_tpl->tpl_vars['field']->value['name'], 'UTF-8'),'quotes','UTF-8' ));?>
"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['field']->value['label'],'quotes','UTF-8' ));?>
</span>:
				<?php if (call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['field']->value['type'] )) == 'switch' || call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['field']->value['type'] )) == 'radio' && (isset($_smarty_tpl->tpl_vars['field']->value['is_bool'])) && $_smarty_tpl->tpl_vars['field']->value['is_bool']) {?>
					<span class="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['id']->value,'html','UTF-8' ));?>
"><b><?php if (call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'intval' ][ 0 ], array( $_smarty_tpl->tpl_vars['configs_value']->value[$_smarty_tpl->tpl_vars['id']->value] )) > 0) {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Yes','mod'=>'ets_migrate'),$_smarty_tpl ) );
} else {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No','mod'=>'ets_migrate'),$_smarty_tpl ) );
}?></b></span>
				<?php } else { ?>
					<span class="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['id']->value,'html','UTF-8' ));?>
"><b><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'ucfirst' ][ 0 ], array( $_smarty_tpl->tpl_vars['configs_value']->value[$_smarty_tpl->tpl_vars['id']->value] )),'html','UTF-8' ));?>
</b></span>
				<?php }?>
            </p>
		<?php }?>
	<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}?>
<div class="ets_clearfix"></div>
</div>
<input type="hidden" name="migrate_option" value="1">
<?php }
}
