16 lines
580 B
Smarty
Executable File
16 lines
580 B
Smarty
Executable File
|
|
{include file="{$DOC_ROOT}/templates/items/facturacion-header.tpl" clase="Off"}
|
|
|
|
{if count($comprobantes.items)}
|
|
{foreach from=$comprobantes.items item=fact key=key}
|
|
{if $key%2 == 0}
|
|
{include file="{$DOC_ROOT}/templates/items/facturacion-base.tpl" clase="Off"}
|
|
{else}
|
|
{include file="{$DOC_ROOT}/templates/items/facturacion-base.tpl" clase="On"}
|
|
{/if}
|
|
{/foreach}
|
|
{else}
|
|
<tr><td colspan="8" align="center">Ningún registro encontrado.</td>
|
|
{/if}
|
|
|
|
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$comprobantes.pages colspan=8} |