diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-06-08 01:30:52 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-06-08 01:30:52 -0700 |
commit | e96a2a6fd3a8885b0fb035ecc55bdf50dbe5a4aa (patch) | |
tree | 1be65eac435d9445d71a2c63e33fefe94db96349 /httemplate/elements | |
parent | 0f21021fea8f99d28b4507c3cffa55cbdd6f110d (diff) |
multi-currency, RT#21565
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/checkboxes-table-name.html | 2 | ||||
-rw-r--r-- | httemplate/elements/checkboxes.html | 2 | ||||
-rw-r--r-- | httemplate/elements/menu.html | 8 |
3 files changed, 10 insertions, 2 deletions
diff --git a/httemplate/elements/checkboxes-table-name.html b/httemplate/elements/checkboxes-table-name.html index 8ee2f7736..957d8efda 100644 --- a/httemplate/elements/checkboxes-table-name.html +++ b/httemplate/elements/checkboxes-table-name.html @@ -11,7 +11,7 @@ Example: 'name_col' => 'name_column', #or - 'name_callback' => sub { }, + #not yet 'name_callback' => sub { }, 'names_list' => [ 'value', 'other value', diff --git a/httemplate/elements/checkboxes.html b/httemplate/elements/checkboxes.html index 69ef18fb9..ad9d691b9 100644 --- a/httemplate/elements/checkboxes.html +++ b/httemplate/elements/checkboxes.html @@ -6,7 +6,7 @@ Example: # required - #? 'name_callback' => sub { }, + #not yet 'name_callback' => sub { }, 'names_list' => [ 'value', 'other value', diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index f784d2faf..53fccaf25 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -587,8 +587,10 @@ $config_billing{'Billing events'} = [ $fsurl.'browse/part_event.html', 'Billing if ( $curuser->access_right('Configuration') ) { #$config_billing{'Invoice events'} = [ $fsurl.'browse/part_bill_event.cgi', 'Deprecated, old-style actions for overdue invoices' ]; $config_billing{'Invoice templates'} = [ $fsurl.'browse/invoice_template.html', 'Edit templates for HTML, plaintext and typeset invoices' ]; + $config_billing{'separator'} = ''; #its a separator! $config_billing{'Prepaid cards'} = [ $fsurl.'search/prepay_credit.html', 'View outstanding cards, generate new cards' ]; $config_billing{'Call rates and regions'} = [ \%config_billing_rates, 'Manage rate plans, regions and prefixes for VoIP and call billing' ]; + $config_billing{'separator2'} = ''; #its a separator! my $config_taxes_name = 'Locales and tax rates'. ( $conf->exists('enable_taxproducts') @@ -600,6 +602,12 @@ if ( $curuser->access_right('Configuration') ) { if $conf->exists('enable_taxproducts'); $config_billing{'Tax classes'} = [ $fsurl. 'browse/part_pkg_taxclass.html', 'Tax classes' ]; + if ( $conf->config('currencies') ) { + $config_billing{'separator3'} = ''; #its a separator! + $config_billing{'Exchange rates'} = [ $fsurl.'edit/currency_exchange.html', 'Currency exchange rates' ]; + } + + $config_billing{'separator4'} = ''; #its a separator! $config_billing{'Credit reasons'} = [ $fsurl.'browse/reason.html?class=R', 'Credit reasons explain why a credit was issued.' ]; $config_billing{'Credit reason types'} = [ $fsurl.'browse/reason_type.html?class=R', 'Credit reason types define groups of reasons.' ]; } |