Files
ventas_php/templates_c/4ecb949c0d4023d76fa2c9b8912e69c21f5e0c2b.file.promociones-base.tpl.php

51 lines
2.8 KiB
PHP

<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:47
compiled from "/var/www/html/ventas/templates/items/promociones-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2115201293695e04270f2476-61789852%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4ecb949c0d4023d76fa2c9b8912e69c21f5e0c2b' =>
array (
0 => '/var/www/html/ventas/templates/items/promociones-base.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '2115201293695e04270f2476-61789852',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/ventas/libs/plugins/modifier.date_format.php';
?> <tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['promocionId'];?>
</td>
<td><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['vigencia'];?>
</td>
<td align="center"><?php if ($_smarty_tpl->getVariable('item')->value['fechaIni']){?><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('item')->value['fechaIni'],"%d-%m-%Y");?>
<?php }?></td>
<td align="center"><?php if ($_smarty_tpl->getVariable('item')->value['fechaFin']){?><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('item')->value['fechaFin'],"%d-%m-%Y");?>
<?php }?></td>
<td align="center"><?php if ($_smarty_tpl->getVariable('item')->value['rebajado']){?>S&iacute;<?php }else{ ?>No<?php }?></td>
<td align="center"><?php if ($_smarty_tpl->getVariable('item')->value['aplicaTodos']=="1"){?>S&iacute;<?php }elseif($_smarty_tpl->getVariable('item')->value['aplicaTodos']=="0"){?>No<?php }?></td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['status'];?>
</td>
<td align="center">
<a href="javascript:void(0)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/excluir.png" class="spanExcluir" id="<?php echo $_smarty_tpl->getVariable('item')->value['promocionId'];?>
" title="Excluir"/>
</a>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/details.png" class="spanView" id="<?php echo $_smarty_tpl->getVariable('item')->value['promocionId'];?>
" title="Detalles"/>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/edit.gif" class="spanEdit" id="<?php echo $_smarty_tpl->getVariable('item')->value['promocionId'];?>
" title="Editar"/>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['promocionId'];?>
" title="Eliminar"/>
</td>
</tr>