diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-12-05 10:45:26 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-12-05 10:45:26 -0800 |
commit | c7c96355331687b6fd44bfe541b402bd0664481d (patch) | |
tree | e39453120b474fc911b8bcc356a0e6059f924e6f /httemplate/elements/select-terms.html | |
parent | be2a6e7068337aa57b04bd7fa88090002d79a64b (diff) |
agent-ize invoice_default_terms, RT#32513
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'} || ''; |