[freeside-commits] branch FREESIDE_3_BRANCH updated. 49d620491ee0004274c066156748d41bae7e2b3d
Ivan
ivan at 420.am
Thu Oct 10 15:26:10 PDT 2013
The branch, FREESIDE_3_BRANCH has been updated
via 49d620491ee0004274c066156748d41bae7e2b3d (commit)
from be9dbfbbe6e23b5edec6da2d9413b29a15da82b3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 49d620491ee0004274c066156748d41bae7e2b3d
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Oct 10 15:26:09 2013 -0700
add customer class to payment report, RT#25282
diff --git a/httemplate/search/elements/report_cust_pay_or_refund.html b/httemplate/search/elements/report_cust_pay_or_refund.html
index cdbcee2..b39c7c0 100644
--- a/httemplate/search/elements/report_cust_pay_or_refund.html
+++ b/httemplate/search/elements/report_cust_pay_or_refund.html
@@ -23,7 +23,7 @@ Examples:
<TR>
<TH CLASS="background" COLSPAN=2 ALIGN="left">
- <FONT SIZE="+1"><% mt('Search options') |h %></FONT>
+ <FONT SIZE="+1"><% mt('Payment search options') |h %></FONT>
</TH>
</TR>
@@ -61,16 +61,10 @@ Examples:
</TD>
</TR>
- <& /elements/tr-select-agent.html,
- 'curr_value' => scalar($cgi->param('agentnum')),
- 'label' => emt('for agent: '),
- 'disable_empty' => 0,
- &>
-
<& /elements/tr-select-user.html &>
<TR>
- <TD ALIGN="right" VALIGN="center"><% mt('Payment') |h %></TD>
+ <TD ALIGN="right" VALIGN="center"><% mt(ucfirst($name_singular). ' date') |h %></TD>
<TD>
<TABLE>
<& /elements/tr-input-beginning_ending.html,
@@ -100,16 +94,56 @@ Examples:
'field' => 'paid',
&>
+
+</TABLE>
+<BR>
+
+
+<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
+
+ <TR>
+ <TH CLASS="background" COLSPAN=2 ALIGN="left">
+ <FONT SIZE="+1"><% mt('Customer search options') |h %></FONT>
+ </TH>
+ </TR>
+
+ <& /elements/tr-select-agent.html,
+ 'curr_value' => scalar($cgi->param('agentnum')),
+ 'label' => emt('Agent'),
+ 'disable_empty' => 0,
+ &>
+
+ <& /elements/tr-select-cust_class.html,
+ 'label' => emt('Customer class'),
+ 'field' => 'cust_classnum',
+ 'multiple' => 1,
+ 'pre_options' => [ '' => emt('(none)') ],
+ 'all_selected' => 1,
+ &>
+
+</TABLE>
+
% if ( $table eq 'cust_pay' ) {
+
+ <BR>
+ <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
+
+ <TR>
+ <TH CLASS="background" COLSPAN=2 ALIGN="left">
+ <FONT SIZE="+1"><% mt('Display options') |h %></FONT>
+ </TH>
+ </TR>
+
<& /elements/tr-checkbox.html,
'label' => emt('Include tax names'),
'field' => 'tax_names',
'value' => 1,
&>
-% }
</TABLE>
+% }
+
<BR>
<INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
-----------------------------------------------------------------------
Summary of changes:
.../search/elements/report_cust_pay_or_refund.html | 52 ++++++++++++++++---
1 files changed, 43 insertions(+), 9 deletions(-)
More information about the freeside-commits
mailing list