{include file="header.html"} {title value=$layout.pagetitle} {if $tariff.description} {/if}
{$tariff.name} ({$tariff.id|string_format:"%04d"})
{t}Value:{/t} {$tariff.amount|money_format}
{t}Tax:{/t} {$tariff.tax}
Darmowych minut: {$tariff.free}
{t}Number of customers:{/t} {$tariff.customerscount}
{t}Avg. monthly income:{/t} {$tariff.totalval|money_format}
{section name=a loop=$tariff.addserv} {/section}
{$tariff.addserv[a].name} {$tariff.addserv[a].price|default:0|money_format}
{$tariff.description|replace:"\n":"
"}
{t}Edit{/t} {if $tariff.count eq 0} {t}Delete{/t} {/if}
{t}Customers in Subscription:{/t}
{cycle values="lucid,light" print=false} {section name=l1 loop=$tariff.customers max=$tariff.rows} {section name=l2 loop=$tariff.customers start=$smarty.section.l1.index step=$tariff.rows} {/section}{cycle print=false} {sectionelse} {/section}
({$tariff.customers[l2].id|string_format:"%04d"}) {$tariff.customers[l2].customername|truncate:100:" ..."} {if $tariff.customers[l2].cnt > 1}({$tariff.customers[l2].cnt}){/if}

 

{t}No such customers with that subscription.{/t}

 

{include file="footer.html"}