summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorivan <ivan>2010-02-06 02:57:12 +0000
committerivan <ivan>2010-02-06 02:57:12 +0000
commit942c8b05b17b119a3dad84d7035c76b481dc5b99 (patch)
treeafa91e2825c0c289bfab329a36c274b393c91248 /httemplate/misc
parent50aae8bb98effd9b9cc4736aa6d3333245d349d8 (diff)
discount reporting, RT#6679
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/delete-cust_pkg_discount.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/misc/delete-cust_pkg_discount.html b/httemplate/misc/delete-cust_pkg_discount.html
index 69168af3b..0bdaa13b3 100644
--- a/httemplate/misc/delete-cust_pkg_discount.html
+++ b/httemplate/misc/delete-cust_pkg_discount.html
@@ -25,6 +25,8 @@ my $cust_pkg_discount =
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>