[freeside-commits] branch master updated. 6008454279572ec1de69cf7c9c55a5f55afec4ed

Jonathan Prykop jonathan at 420.am
Fri Jun 3 18:18:31 PDT 2016


The branch, master has been updated
       via  6008454279572ec1de69cf7c9c55a5f55afec4ed (commit)
      from  7483c5e354bbee171bbb9c6996ae9a56e9517ea6 (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 6008454279572ec1de69cf7c9c55a5f55afec4ed
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Fri Jun 3 20:18:13 2016 -0500

    RT#42347: Add IDT transaction ID to payment information [display order_number for all payby]

diff --git a/httemplate/view/cust_pay.html b/httemplate/view/cust_pay.html
index b34a908..ba4cfda 100644
--- a/httemplate/view/cust_pay.html
+++ b/httemplate/view/cust_pay.html
@@ -91,13 +91,14 @@
       <TD BGCOLOR="#FFFFFF"><B><% $cust_pay->auth %></B></TD>
     </TR>
 
-%   if ( $cust_pay->order_number ) {
-      <TR>
-        <TD ALIGN="right"><% mt('Order #') |h %></TD>
-        <TD BGCOLOR="#FFFFFF"><B><% $cust_pay->order_number %></B></TD>
-      </TR>
-%   }
+% }
 
+% # API allows setting this for any payby
+% if ( $cust_pay->order_number ) {
+    <TR>
+      <TD ALIGN="right"><% mt('Order #') |h %></TD>
+      <TD BGCOLOR="#FFFFFF"><B><% $cust_pay->order_number %></B></TD>
+    </TR>
 % }
 
 % if ( $cust_pay->payby eq 'CASH' && $cust_pay->payinfo ) {

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/cust_pay.html |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)




More information about the freeside-commits mailing list