Files
ventas_php/templates_c/1c5d4f9240b3e654ba77c65e93b4f49330a2f274.file.pedidos-cajas2.tpl.php

39 lines
1.5 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:33:42
compiled from "/var/www/html/templates/lists/pedidos-cajas2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1462402371540e3cd6953ad5-40081165%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1c5d4f9240b3e654ba77c65e93b4f49330a2f274' =>
array (
0 => '/var/www/html/templates/lists/pedidos-cajas2.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '1462402371540e3cd6953ad5-40081165',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<b>DISTRIBUCION No. DE CAJAS POR SUCURSAL</b>
<br /><br />
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['kS'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('sucCajas')->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['kS']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<div class="boxDist">
<b>Suc. <?php echo $_smarty_tpl->getVariable('item')->value['noSuc'];?>
</b> <br />
<?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
</div>
<?php }} else { ?>
Ning&uacute;n registro encontrado.
<?php } ?>
<div style="clear:both"></div>
<br />