Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-27 09:14:03
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-reporte.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:137504248953849dab210b35-83817163%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7fd44cfce70cc61b1eea166d2f14d495d897657d' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-reporte.tpl',
|
||||
1 => 1375965453,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '137504248953849dab210b35-83817163',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/libs/plugins/modifier.date_format.php';
|
||||
?><table width="60%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
<tr>
|
||||
<tr>
|
||||
<td align="center"><b>SUC. DESTINO</b></td>
|
||||
<td align="center"><b>FECHA RECIBIDO</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('nomSuc')->value;?>
|
||||
</td>
|
||||
<td align="center"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('fechaRec')->value,"%d-%m-%Y");?>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/envios-reporte-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('productos')->value)){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('productos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/envios-reporte-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/envios-reporte-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"><b>TOTALES</b></td>
|
||||
<td align="center"><b><?php echo number_format($_smarty_tpl->getVariable('cantTotal')->value,0,'.',',');?>
|
||||
</b></td>
|
||||
<td align="center"></td>
|
||||
<td align="right"><b>$<?php echo number_format($_smarty_tpl->getVariable('impTotal')->value,2,'.',',');?>
|
||||
</b></td>
|
||||
</tr>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="9" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('productos')->value['pages']);$_template->assign('colspan',9); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
Reference in New Issue
Block a user