<?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-process-migrate.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.4',
  'unifunc' => 'content_695e7838b68272_57674943',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'c1911f6865c6f70bce6a2aabc4c2eff5b2f58111' => 
    array (
      0 => '/home/xdynucu/www/modules/ets_migrate/views/templates/hook/bo-process-migrate.tpl',
      1 => 1716307060,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_695e7838b68272_57674943 (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',),1=>array('file'=>'/home/xdynucu/www/vendor/smarty/smarty/libs/plugins/function.math.php','function'=>'smarty_function_math',),));
?>

<div class="row">
    <?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) {?>
	    <?php $_smarty_tpl->_assignInScope('migrate_image', 0);?>
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['configs_value']->value['ETS_EM_DATA_TO_MIGRATE'], 'data');
$_smarty_tpl->tpl_vars['data']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['data']->value) {
$_smarty_tpl->tpl_vars['data']->do_else = false;
?>
            <?php if ((isset($_smarty_tpl->tpl_vars['resources']->value[$_smarty_tpl->tpl_vars['data']->value])) && $_smarty_tpl->tpl_vars['resources']->value[$_smarty_tpl->tpl_vars['data']->value] && (call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value )) == 'minor_data' || call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value )) == 'images' || call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value )) == 'files' || (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)) {?>
                <?php $_smarty_tpl->_assignInScope('resource', $_smarty_tpl->tpl_vars['resources']->value[$_smarty_tpl->tpl_vars['data']->value]);?>
	            <?php $_smarty_tpl->_assignInScope('complete_task', in_array($_smarty_tpl->tpl_vars['data']->value,$_smarty_tpl->tpl_vars['migrated_tables']->value));?>
                <?php if (call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['migrating']->value )) !== call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value )) || !(isset($_smarty_tpl->tpl_vars['info']->value['nb'][$_smarty_tpl->tpl_vars['data']->value]['nb_group_table'])) || $_smarty_tpl->tpl_vars['info']->value['nb'][$_smarty_tpl->tpl_vars['data']->value]['nb_group_table'] <= 0) {
$_smarty_tpl->_assignInScope('percent_task', 0);
} else {
ob_start();
echo smarty_function_math(array('equation'=>"((x*y)/z)",'x'=>$_smarty_tpl->tpl_vars['count']->value,'y'=>100,'z'=>$_smarty_tpl->tpl_vars['info']->value['nb'][$_smarty_tpl->tpl_vars['data']->value]['nb_group_table'],'format'=>"%.2f"),$_smarty_tpl);
$_prefixVariable1 = ob_get_clean();
$_smarty_tpl->_assignInScope('percent_task', $_prefixVariable1);
}?>
	            <div class="ets_mg_process_item <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value,'html','UTF-8' ));?>
 col-sm-4 col-xs-12" data-task="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value,'html','UTF-8' ));?>
">
		            <div class="ets_mg_process_item_content <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value,'html','UTF-8' ));?>
 <?php if ($_smarty_tpl->tpl_vars['complete_task']->value) {?>item_success<?php } elseif (call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['migrating']->value )) === call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value ))) {?>item_processing<?php } else { ?>item_waiting<?php }?>">
			            <div class="ets_mg_process_item_header">
				            <span class="ets_mg_process_item_title"><?php echo $_smarty_tpl->tpl_vars['resource']->value['name'];?>
 <span class="ets_mg_process_item_icon <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value,'html','UTF-8' ));?>
"><span class="<?php if ($_smarty_tpl->tpl_vars['complete_task']->value) {?>icon_success<?php } elseif (call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['migrating']->value )) === call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value ))) {?>dot-flashing<?php }?>"></span></span></span>
				            <span class="ets_mg_process_item_img"><img src="<?php echo $_smarty_tpl->tpl_vars['img_path']->value;?>
process/<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value,'html','UTF-8' ));?>
.png"></span>
			            </div>
			            <div class="ets_mg_process_item_run">
				            <div class="ets_mg_process_item_ranger">
					            <span class="ets_mg_process_item_running <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value,'html','UTF-8' ));?>
" style="width:<?php if ($_smarty_tpl->tpl_vars['complete_task']->value) {?>100%<?php } else {
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'floatval' ][ 0 ], array( $_smarty_tpl->tpl_vars['percent_task']->value ));?>
%<?php }?>;"></span>
				            </div>
				            <span class="ets_mg_process_item_percent <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value,'html','UTF-8' ));?>
"><?php if ($_smarty_tpl->tpl_vars['complete_task']->value) {?>100%<?php } else {
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'floatval' ][ 0 ], array( $_smarty_tpl->tpl_vars['percent_task']->value ));?>
%<?php }?></span>
				            <?php if ($_smarty_tpl->tpl_vars['data']->value !== 'minor_data') {?><span class="ets_mg_process_item_files <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value,'html','UTF-8' ));?>
"><?php if (call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value )) !== 'images' && call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'trim' ][ 0 ], array( $_smarty_tpl->tpl_vars['data']->value )) !== 'files') {
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'] ));
}?></span><?php }?>
			            </div>
		            </div>
	            </div>
            <?php }?>
        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
    <?php }?>
</div><?php }
}
