X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Fselect-terms.html;h=716832f525d747b4182ca4a78c795200b5517fc3;hb=0f12bb525e362f0eb97085079c3046c4bf2f6e64;hp=88396920f793e92d6fb59775e7b6aa80c75f253a;hpb=87829bfd7466f835e5d4bd37e6c8b0d03a0daed9;p=freeside.git 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'} || '';