1 <SELECT NAME = "invoice_terms"
3 <% $opt{'disabled'} ? 'DISABLED' : ''%>
5 <OPTION VALUE=""><% $empty_label %>
6 % foreach my $term ( @terms ) {
7 <OPTION VALUE="<% $term %>" <% $curr_value eq $term ? ' SELECTED' : '' %>><% $term %>
13 my $curr_value = $opt{'curr_value'};
14 my $conf = new FS::Conf;
19 ($conf->config('invoice_default_terms') || 'Payable upon receipt').
22 my @terms = ( 'Payable upon receipt',
23 ( map "Net $_", 0, 10, 15, 20, 30, 45, 60 ),