From: Ivan Kohler Date: Thu, 18 Jun 2015 07:50:23 +0000 (-0700) Subject: UI spring cleaning: prorate day dropdown X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=d928d26f1d623720d2f0c854a9d0b38210d66d2d UI spring cleaning: prorate day dropdown --- diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index c3e89226b..6f716c1be 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -128,11 +128,25 @@ % if ( $conf->exists('cust_main-select-prorate_day') ) { - <% mt('Prorate day (1-28)') |h %> + <% mt('Prorate day') |h %> - + + +% sub prorate_day_options { +% my $curr_value = shift; +% my $ret = ''; +% for my $prorate_day ( 1 .. 28 ) { +% my $sel = ''; +% $sel = "SELECTED='SELECTED'" if $curr_value == $prorate_day; +% $ret .= ""; +% } +% $ret; +% } + % } else { % }