X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-terms.html;h=88396920f793e92d6fb59775e7b6aa80c75f253a;hb=87829bfd7466f835e5d4bd37e6c8b0d03a0daed9;hp=52f9fb54260a83c255fc70bbfdbdfeedcf28042e;hpb=0ea039f9084014e27a1b99ff033bf04bdab94966;p=freeside.git diff --git a/httemplate/elements/select-terms.html b/httemplate/elements/select-terms.html index 52f9fb542..88396920f 100644 --- a/httemplate/elements/select-terms.html +++ b/httemplate/elements/select-terms.html @@ -26,14 +26,15 @@ my $conf = new FS::Conf; my $empty_label = $opt{'empty_label'} - || 'Default ('. - ($conf->config('invoice_default_terms') || 'Payable upon receipt'). + || emt('Default').' ('. + ($conf->config('invoice_default_terms') || emt('Payable upon receipt')). ')'; my $empty_value = $opt{'empty_value'} || ''; -my @terms = ( 'Payable upon receipt', - ( map "Net $_", 0, 10, 15, 20, 30, 45, 60 ), +my @terms = ( emt('Payable upon receipt'), + ( map "Net $_", + 0, 3, 5, 9, 10, 14, 15, 18, 20, 21, 25, 30, 45, 60, 90 ), ); my @pre_options = $opt{pre_options} ? @{ $opt{pre_options} } : ();