{ $method->exe("currency","view") } { if ($method->result == FALSE) } { $block->display("core:method_error") } {else} {literal} {/literal} {foreach from=$currency item=currency} {if $form_validation} { $block->display("core:alert_fields") } {/if}
{translate module=currency} title_view {/translate}
{translate module=currency} field_name {/translate}
{translate module=currency} field_symbol {/translate}
{translate module=currency} field_three_digit {/translate}
{translate module=currency} field_status {/translate} {$list->bool("currency_status",$currency.status, "form_menu")}
{translate module=currency} field_notes {/translate}
{translate module=currency} field_convert_array {/translate}
{assign var=sql1 value=" AND id != '"} {assign var=sql2 value=$currency.id} {assign var=sql3 value="' AND status = '1'"} {assign var=sql value=$sql1$sql2$sql3} { if $list->smarty_array("currency", "name,symbol,three_digit", $sql, "currency_arr") } {$list->unserial($currency.convert_array, "convert")} {foreach from=$currency_arr item=c_arr} {/foreach} {/if}
{$c_arr.three_digit}   {assign var=id value=$c_arr.id} {assign var=convert_rate value=$convert.$id} {$c_arr.name}
 
{/foreach} {literal}{/literal} {/if}