[freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.21, 1.21.2.1

Ivan,,, ivan at wavetail.420.am
Fri Oct 26 21:46:23 PDT 2007


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv27386/httemplate/view/cust_main

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	payment_history.html 
Log Message:
simple payment receipts in web interface, sorry arnie, RT#2738

Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -d -r1.21 -r1.21.2.1
--- payment_history.html	4 Feb 2007 01:47:51 -0000	1.21
+++ payment_history.html	27 Oct 2007 04:46:21 -0000	1.21.2.1
@@ -161,6 +161,10 @@
 %    }
 %  }
 %
+%  my $view = qq! (<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('${p}view/cust_pay.html?link=popup;paynum=!.
+%             $cust_pay->paynum.
+%             qq!', 540, 336, 'view_cust_pay_popup' ), CAPTION, 'Payment Receipt', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK ); return false;">view receipt</A>)!;
+%
 %  my $refund = '';
 %  my $refund_days = $conf->config('card_refund-days') || 120;
 %  if (    $cust_pay->closed !~ /^Y/i
@@ -229,7 +233,7 @@
 %  push @history, {
 %    'date'    => $cust_pay->_date,
 %    'desc'    => $pre. "Payment$post$info$desc".
-%                 "$apply$refund$void$delete$unapply",
+%                 "$view$apply$refund$void$delete$unapply",
 %    'payment' => $cust_pay->paid,
 %    'target'  => $target,
 %  };



More information about the freeside-commits mailing list