diff options
Diffstat (limited to 'httemplate/elements/select-terms.html')
-rw-r--r-- | httemplate/elements/select-terms.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/elements/select-terms.html b/httemplate/elements/select-terms.html index 88396920f..716832f52 100644 --- a/httemplate/elements/select-terms.html +++ b/httemplate/elements/select-terms.html @@ -26,9 +26,11 @@ my $conf = new FS::Conf; my $empty_label = $opt{'empty_label'} - || emt('Default').' ('. - ($conf->config('invoice_default_terms') || emt('Payable upon receipt')). - ')'; + || emt('Default').' ('. + ( $conf->config('invoice_default_terms', $opt{'agentnum'}) + || emt('Payable upon receipt') + ). + ')'; my $empty_value = $opt{'empty_value'} || ''; |