[freeside-commits] freeside/httemplate/misc delete-cust_pkg_discount.html, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Fri Feb 5 18:54:12 PST 2010


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv1107/httemplate/misc

Modified Files:
	delete-cust_pkg_discount.html 
Log Message:
discount reporting, RT#6679

Index: delete-cust_pkg_discount.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/delete-cust_pkg_discount.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- delete-cust_pkg_discount.html	30 Jan 2010 23:00:25 -0000	1.1
+++ delete-cust_pkg_discount.html	6 Feb 2010 02:54:10 -0000	1.2
@@ -25,6 +25,8 @@
 my $cust_pkg = $cust_pkg_discount->cust_pkg;
 my $custnum = $cust_pkg->custnum;
 
-my $error = $cust_pkg_discount->delete;
+$cust_pkg_discount->disabled('Y');
+
+my $error = $cust_pkg_discount->replace;
 
 </%init>



More information about the freeside-commits mailing list