Files
ventas_php/templates_c/f751636b67e0b7c7e42a4472d5b156f42cf276c6.file.promociones-base.tpl.php

51 lines
2.8 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-09-07 19:30:06
compiled from "/var/www/html/templates/items/promociones-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:49018548954075d876e5da1-12992316%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f751636b67e0b7c7e42a4472d5b156f42cf276c6' =>
array (
0 => '/var/www/html/templates/items/promociones-base.tpl',
1 => 1410130456,
),
),
'nocache_hash' => '49018548954075d876e5da1-12992316',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/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>