[freeside-commits] branch master updated. 22f8f47d6b14d421b9ce8fd5d901df28c220281a

Ivan ivan at 420.am
Thu Oct 10 15:26:09 PDT 2013


The branch, master has been updated
       via  22f8f47d6b14d421b9ce8fd5d901df28c220281a (commit)
      from  e19de946a48c91ed05a9267b4425ff5dd98da1e5 (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 22f8f47d6b14d421b9ce8fd5d901df28c220281a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 10 15:26:08 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