[`Name`]: {{$customer.MTC_FIRSTNAME}} {{$customer.MTC_LASTNAME}}
[`Email`]: {{$customer.MTC_EMAIL}}
{{if $customer.MTC_COMPANY}}[`Company`]: {{$customer.MTC_COMPANY}}
{{/if}}
{{if $customer.MTC_PHONE}}[`Phone`]: {{$customer.MTC_PHONE}}
{{/if}}
{{if $customer.address}}[`Address`]: {{$customer.address}}
{{/if}}
{{if $customer.jur_address}}[`Juridical address`]: {{$customer.jur_address}}
{{/if}}
{{if $customer.MTC_INN}}[`Details`]:
[`INN`]: {{$customer.MTC_INN}}
{{if $customer.MTC_KPP}}[`KPP`]: {{$customer.MTC_KPP}}{{/if}}
{{if $customer.MTC_BANKACCOUNT}}[`Bank account`]: {{$customer.MTC_BANKACCOUNT}}{{/if}}
{{if $customer.MTC_BANKNAME}}[`Bank name`]: {{$customer.MTC_BANKNAME}}{{/if}}
{{if $customer.MTC_BANKBIK}}[`BIK`]: {{$customer.MTC_BANKBIK}}{{/if}}
{{if $customer.MTC_BANKCORACCOUNT}}[`Bank coraccount`]: {{$customer.MTC_BANKCORACCOUNT}}{{/if}}
{{/if}}
MTC_ID: {{$customer.MTC_ID}}
WAOS: {{foreach from=$apps item=app name=appsLoop}} {{$app.TITLE}}{{if $app.count>0}} ({{$app.count}}){{/if}}{{if !$smarty.foreach.appsLoop.last}},{{/if}} {{foreachelse}} [`no`] {{/foreach}}
WAHOST: {{foreach from=$wahost item=wah name=wahLoop}} {{$wah.ACC_NAME}} / {{$wah.DB_KEY}} {{if $wah.ACC_PLAN == 'FREE'}} (Free) {{else}} ({{$wah.plan}}, {{if $wah.expired}}expired{{else}}exp. {{$wah.ACC_BILLING_DATE|date_format}}{{/if}}){{/if}}{{if !$smarty.foreach.wahLoop.last}},{{/if}} {{foreachelse}} [`no`] {{/foreach}}
ARHOST: {{foreach from=$arhost item=arh name=arhLoop}} {{$arh.MTAA_DOMAIN}} ({{$arh.plan}}, {{if $arh.expired}}expired{{else}}exp. {{$arh.MTAA_EXPIRE_DATE|date_format}}{{/if}}){{if !$smarty.foreach.arhLoop.last}},{{/if}} {{foreachelse}} [`no`] {{/foreach}}
DOMAINS: {{foreach from=$domains item=dom name=domLoop}} {{$dom.MTDR_DOMAIN_NAME}} ({{if $dom.expired}}[`expired`]{{elseif $dom.new}}[`not registered`]{{else}}exp. {{$dom.MTDR_EXPIRE_DATE|date_format}}{{/if}}){{if !$smarty.foreach.domLoop.last}},{{/if}} {{foreachelse}} [`no`] {{/foreach}}
{{if $products}}{{$stateId}}: {{$state.count}} ({{$state.amount}})
{{/if}} {{/foreach}} {{else}}