[freeside-commits] freeside/FS/FS cust_pkg_discount.pm, 1.8.2.1, 1.8.2.2
Ivan,,,
ivan at wavetail.420.am
Mon Nov 21 20:32:00 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv11634
Modified Files:
Tag: FREESIDE_2_3_BRANCH
cust_pkg_discount.pm
Log Message:
fix incorrect error message: Discount does not apply to setup fees, and package has no recurring, RT#15257
Index: cust_pkg_discount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg_discount.pm,v
retrieving revision 1.8.2.1
retrieving revision 1.8.2.2
diff -u -w -d -r1.8.2.1 -r1.8.2.2
--- cust_pkg_discount.pm 24 Oct 2011 01:15:59 -0000 1.8.2.1
+++ cust_pkg_discount.pm 22 Nov 2011 04:31:58 -0000 1.8.2.2
@@ -172,7 +172,7 @@
return $error if $error;
return "Discount does not apply to setup fees, and package has no recurring"
- if ! $self->discount->setup && ! $self->cust_pkg->freq;
+ if ! $self->discount->setup && ! $self->cust_pkg->part_pkg->freq;
$self->usernum($FS::CurrentUser::CurrentUser->usernum) unless $self->usernum;
More information about the freeside-commits
mailing list