From e96a2a6fd3a8885b0fb035ecc55bdf50dbe5a4aa Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 8 Jun 2013 01:30:52 -0700 Subject: multi-currency, RT#21565 --- httemplate/edit/agent.cgi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'httemplate/edit/agent.cgi') diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi index b043d1efe..2eddd30a4 100755 --- a/httemplate/edit/agent.cgi +++ b/httemplate/edit/agent.cgi @@ -170,9 +170,30 @@ % } +
+ +% if ( $conf->config('currencies') ) { + + <% mt('Currencies') |h %> + + + + +
+ <& /elements/checkboxes-table-name.html, + 'link_table' => 'agent_currency', + 'name_col' => 'currency', + 'names_list' => [ map [ $_, {label=>"$_: ".code2currency($_)} ], + $conf->config('currencies') + ], + &> +
+% }
+ + "> -- cgit v1.2.1