[freeside-commits] freeside/httemplate/search/elements cust_pay_or_refund.html, 1.4, 1.5

Ivan,,, ivan at wavetail.420.am
Mon Jul 27 02:07:26 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/search/elements
In directory wavetail.420.am:/tmp/cvs-serv28421/httemplate/search/elements

Modified Files:
	cust_pay_or_refund.html 
Log Message:
voided payment report, RT#5786

Index: cust_pay_or_refund.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/elements/cust_pay_or_refund.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cust_pay_or_refund.html	19 Feb 2009 07:57:51 -0000	1.4
+++ cust_pay_or_refund.html	27 Jul 2009 09:07:24 -0000	1.5
@@ -288,7 +288,9 @@
      && ! $opt{'disable_link'}
    )
 {
-  $link = [ "${p}view/cust_$thing.html?${thing}num=", $thing.'num' ]
+  my $key = $thing eq 'pay_void' ? 'paynum' : $thing.'num';
+  my $q = ( $thing eq 'pay_void' ? 'void=1;' : '' ). "$key=";
+  $link = [ "${p}view/cust_$thing.html?$q", $key ]
 }
 
 my $cust_link = sub {



More information about the freeside-commits mailing list