Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-01 09:56:11
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/pedidos-proporciones2.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:584826065362608b2a6168-69581950%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'b86ec0f48dc6eb8f93b5d0799f7654ca904add78' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/pedidos-proporciones2.tpl',
|
||||
1 => 1379101641,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '584826065362608b2a6168-69581950',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<table width="" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="120" align="center" height="30"><b>Color / Talla</b></td>
|
||||
<td width="80" align="center"><b>Prop. Color</b></td>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('it')->value['tallas']; 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;
|
||||
?>
|
||||
<td align="center" width="80"><b><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</b></td>
|
||||
<?php }} ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" height="30"><b>Prop. Talla</b></td>
|
||||
<td align="center"></td>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('it')->value['tallas']; 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;
|
||||
?>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
|
||||
</td>
|
||||
<?php }} ?>
|
||||
</tr>
|
||||
<?php $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['idC'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('it')->value['colores']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value){
|
||||
$_smarty_tpl->tpl_vars['idC']->value = $_smarty_tpl->tpl_vars['c']->key;
|
||||
?>
|
||||
<tr>
|
||||
<td align="center" height="30"><b><?php echo $_smarty_tpl->getVariable('c')->value['nombre'];?>
|
||||
</b></td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('c')->value['cantidad'];?>
|
||||
</td>
|
||||
<?php $_smarty_tpl->tpl_vars['t'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['idT'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('it')->value['tallas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['t']->key => $_smarty_tpl->tpl_vars['t']->value){
|
||||
$_smarty_tpl->tpl_vars['idT']->value = $_smarty_tpl->tpl_vars['t']->key;
|
||||
?>
|
||||
<td align="center"><?php ob_start();?><?php echo $_smarty_tpl->getVariable('idT')->value;?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('it')->value['subtotales'][$_tmp1][$_tmp2];?>
|
||||
</td>
|
||||
<?php }} ?>
|
||||
</tr>
|
||||
<?php }} ?>
|
||||
<tr>
|
||||
<td align="center" height="30"><b>Total</b></td>
|
||||
<td align="center"></td>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['idT'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('it')->value['tallas']; 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['idT']->value = $_smarty_tpl->tpl_vars['item']->key;
|
||||
?>
|
||||
<td align="center"><?php ob_start();?><?php echo $_smarty_tpl->getVariable('idT')->value;?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('it')->value['totales'][$_tmp3];?>
|
||||
</td>
|
||||
<?php }} ?>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user