RT#42347: Add IDT transaction ID to payment information [display order_number for...
authorJonathan Prykop <jonathan@freeside.biz>
Sat, 4 Jun 2016 01:18:13 +0000 (20:18 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Sat, 4 Jun 2016 01:18:13 +0000 (20:18 -0500)
httemplate/view/cust_pay.html

index b34a908..ba4cfda 100644 (file)
       <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 ) {