getCompiled()->isFresh($_smarty_tpl, array (
'version' => '5.3.1',
'unifunc' => 'content_67a8a9fed59986_65129545',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2a4a62eb1efd4cf098761a6a4eeda93a09527ed6' =>
array (
0 => 'user/invoice/index.tpl',
1 => 1712762115,
2 => 'file',
),
),
'includes' =>
array (
'file:user/header.tpl' => 1,
'file:datatable.tpl' => 1,
'file:user/footer.tpl' => 1,
),
))) {
function content_67a8a9fed59986_65129545 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = '/www/wwwroot/fuuu.cloud/resources/views/tabler/user/invoice';
$_smarty_tpl->renderSubTemplate('file:user/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
?>
getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('details')['field'], 'value', false, 'key');
$foreach0DoElse = true;
foreach ($_from ?? [] as $_smarty_tpl->getVariable('key')->value => $_smarty_tpl->getVariable('value')->value) {
$foreach0DoElse = false;
?>
| getValue('value');?>
|
getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
src="//getValue('config')['jsdelivr_url'];?>
/npm/jquery/dist/jquery.min.js">
>
renderSubTemplate('file:datatable.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
?>
>
tableConfig.ajax = {
url: '/user/invoice/ajax',
type: 'POST',
dataSrc: 'invoices'
};
tableConfig.order = [
[1, 'desc']
];
tableConfig.columnDefs = [
{
targets: [0],
orderable: false
}
];
let table = new DataTable('#data-table', tableConfig);
function loadTable() {
table;
}
function reloadTableAjax() {
table.ajax.reload(null, false);
}
loadTable();
>
renderSubTemplate('file:user/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
}
}