{include file="search_products.tpl.html"} {if (count($rows) == 0)}
{t}No products matching your search criteria were found.{/t}
{if $perm_products}[ {t}Add product{/t} ]{/if}
{else} {include file="delete_product.tpl.js"} {section name=products loop=$rows} {/section} {if (strlen($BROWSE))} {/if}
{t}Products{/t} [ {t}Add product{/t} ]
{t}Product code{/t} {t}Name{/t} {t}Price{/t} {t}Consumption{/t} {t}On stock{/t} {t}Category{/t} {t}Actions{/t}
{$rows[products].prod_code|wash|default:" "} {$rows[products].prod_name|wash|default:" "} {$config.MONETARY_SYMBOL|wash}{$rows[products].prod_price|wash|default:" "} {$rows[products].prod_consumption|wash|default:" "} {$rows[products].prod_stock|wash|default:" "} {$rows[products].prcat_title|wash|default:" "} {strip} {t}View{/t} {if ($perm_products)} {t}Edit{/t} {t}Delete{/t} {/if} {/strip}
{$BROWSE}
{/if}