<?php
/* Smarty version 3.1.34-dev-7, created on 2023-02-07 17:08:05
  from '/disk2/home/areastec/public_html/phpsch/tpl/Reports/custom-csv.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.34-dev-7',
  'unifunc' => 'content_63e28575a82d22_13126158',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '851bf5fef2f1e662dedf6bf5f14b66de2e5f0c06' => 
    array (
      0 => '/disk2/home/areastec/public_html/phpsch/tpl/Reports/custom-csv.tpl',
      1 => 1601985296,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_63e28575a82d22_13126158 (Smarty_Internal_Template $_smarty_tpl) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['Definition']->value->GetColumnHeaders(), 'column', false, NULL, 'columnIterator', array (
  'index' => true,
));
$_smarty_tpl->tpl_vars['column']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['column']->value) {
$_smarty_tpl->tpl_vars['column']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_columnIterator']->value['index']++;
if ($_smarty_tpl->tpl_vars['ReportCsvColumnView']->value->ShouldShowCol($_smarty_tpl->tpl_vars['column']->value,(isset($_smarty_tpl->tpl_vars['__smarty_foreach_columnIterator']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_columnIterator']->value['index'] : null))) {?>"<?php if ($_smarty_tpl->tpl_vars['column']->value->HasTitle()) {
echo $_smarty_tpl->tpl_vars['column']->value->Title();
} else {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>$_smarty_tpl->tpl_vars['column']->value->TitleKey()),$_smarty_tpl ) );
}?>",<?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['linebreak'][0], array( array(),$_smarty_tpl ) );
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['Report']->value->GetData()->Rows(), 'row');
$_smarty_tpl->tpl_vars['row']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['row']->value) {
$_smarty_tpl->tpl_vars['row']->do_else = false;
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['Definition']->value->GetRow($_smarty_tpl->tpl_vars['row']->value), 'data', false, NULL, 'dataIterator', array (
  'index' => true,
));
$_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;
$_smarty_tpl->tpl_vars['__smarty_foreach_dataIterator']->value['index']++;
if ($_smarty_tpl->tpl_vars['ReportCsvColumnView']->value->ShouldShowCell((isset($_smarty_tpl->tpl_vars['__smarty_foreach_dataIterator']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_dataIterator']->value['index'] : null))) {?>"<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['data']->value->Value(), ENT_QUOTES, 'UTF-8', true);?>
",<?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['linebreak'][0], array( array(),$_smarty_tpl ) );
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}
