X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-from_to.html;h=a8ab1544f662cc7d7a95f0e3cf694f8619711b7b;hb=62b18c75989a1b00a25079f8f110992aaad81bba;hp=083243d403ef6ea01e3383901c85933410481151;hpb=c648976f0b7975f2328ebd7ba8c711fad0ca4195;p=freeside.git diff --git a/httemplate/elements/tr-select-from_to.html b/httemplate/elements/tr-select-from_to.html index 083243d40..a8ab1544f 100644 --- a/httemplate/elements/tr-select-from_to.html +++ b/httemplate/elements/tr-select-from_to.html @@ -1,52 +1,45 @@ -% -% -% #my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); -% my ($curmon,$curyear) = (localtime(time))[4,5]; -% -% #find first month -% my $syear = 1899+$curyear; -% my $smonth = $curmon+1; -% -% #want 12 month by default, not 13 -% $smonth++; -% if ( $smonth > 12 ) { $smonth-=12; $syear++ } -% -% #find last month -% my $eyear = 1900+$curyear; -% my $emonth = $curmon+1; -% -% my %hash = ( -% 'show_month_abbr' => 1, -% 'start_year' => '1999', -% 'end_year' => '2012', #haha, well... -% @_, -% ); -% -% - -