X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_pkg.html;h=0a17344b8481b4250170550c0007767f048f457b;hb=c14b35ce12141287e201bba8489b202a1b34b38f;hp=3da59c2ac3d732237fc63bec8eb3f922c50cf25c;hpb=c659e521c19a0649733730bd897c98b5337395ac;p=freeside.git diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html index 3da59c2ac..0a17344b8 100755 --- a/httemplate/search/report_cust_pkg.html +++ b/httemplate/search/report_cust_pkg.html @@ -16,10 +16,44 @@ <% include( '/elements/tr-select-agent.html', 'curr_value' => scalar( $cgi->param('agentnum') ), 'disable_empty' => 0, + 'onchange' => 'agent_changed(this)', ) %> + + + + <& /elements/tr-select-sales.html, + 'label' => 'Customer sales person', + 'element_name' => 'cust_main_salesnum', + 'id' => 'cust_main_salesnum', + 'curr_value' => scalar($cgi->param('cust_main_salesnum')), + 'pre_options' => [ '' => 'all', + 0 => '(none)', ], + 'disable_empty' => 1, + &> + % } + <& /elements/tr-select-sales.html, + 'label' => 'Package sales person', + 'curr_value' => scalar($cgi->param('salesnum')), + 'pre_options' => [ '' => 'all', + 0 => '(none)', ], + 'disable_empty' => 1, + &> + <% include( '/elements/tr-select-cust_pkg-status.html', 'onchange' => 'status_changed(this);', ) @@ -88,23 +122,35 @@ %> % } - + + + + + + + + +% 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} %> - - <% include( '/elements/tr-input-beginning_ending.html', - prefix => $field, - layout => 'horiz', - ) - %> -
-
<% $label{$field} %> + <& /elements/input-date-field.html, { + 'name' => $field.'_'.$_, + 'value' => '', + 'noinit' => $noinit, + 'format' => '%m/%d/%Y', + } &> +
+ +