X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_pkg.html;h=e47bbb1e5399dc56af221d76e9cbcef9fb4f213a;hb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;hp=fcc0934104de3ccb55544a3e794c10bbcabdb8d7;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html index fcc093410..e47bbb1e5 100755 --- a/httemplate/search/report_cust_pkg.html +++ b/httemplate/search/report_cust_pkg.html @@ -1,4 +1,4 @@ -<% include('/elements/header.html', $title ) %> +<& /elements/header.html, mt($title, @title_arg) &>
@@ -7,7 +7,7 @@ - @@ -33,7 +33,7 @@ if ( what.options[what.selectedIndex].value == '<% $status %>' ) { -% foreach my $field (qw( setup last_bill bill adjourn susp expire cancel )) { +% foreach my $field (@date_fields) { % if ( $disable{$status}->{$field} ) { what.form.<% $field %>_beginning_text.disabled = true; @@ -88,23 +88,35 @@ %> % } - -% foreach my $field (qw( setup last_bill bill adjourn susp expire cancel )) { - - - - - - -% } + + +
+ Search options
<% $label{$field} %> - - <% include( '/elements/tr-input-beginning_ending.html', - prefix => $field, - layout => 'horiz', - ) - %> -
-
+ + + + + + +% my $noinit = 0; +% foreach my $field (@date_fields) { + + + +% foreach (qw(beginning ending)) { + +% $noinit = 1; +% } + +% } #foreach $field +
From date (m/d/y)To date (m/d/y)
<% $label{$field} %> + <& /elements/input-date-field.html, { + 'name' => $field.'_'.$_, + 'value' => '', + 'noinit' => $noinit, + 'format' => '%m/%d/%Y', + } &> +
+