summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill_pkg.pm
diff options
context:
space:
mode:
authorjeff <jeff>2009-07-20 14:26:12 +0000
committerjeff <jeff>2009-07-20 14:26:12 +0000
commit87a986f35b347affed5f1e1ff5c5c7c59ccd4ad1 (patch)
tree00971fb15325dadfa0ddf7030fab4912810f6d0c /FS/FS/cust_bill_pkg.pm
parent52d81f0b1f3bc092da71e7f5919d332c4fa012d5 (diff)
bundle bill linked packages into top line total when desired #5724
Diffstat (limited to 'FS/FS/cust_bill_pkg.pm')
-rw-r--r--FS/FS/cust_bill_pkg.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm
index fbc67c542..abf021845 100644
--- a/FS/FS/cust_bill_pkg.pm
+++ b/FS/FS/cust_bill_pkg.pm
@@ -63,6 +63,8 @@ supported:
=item unitrecur - If not set, defaults to recur
+=item hidden - If set to Y, indicates data should not appear as separate line item on invoice
+
=back
sdate and edate are specified as UNIX timestamps; see L<perlfunc/"time">. Also
@@ -236,6 +238,7 @@ sub check {
|| $self->ut_numbern('edate')
|| $self->ut_textn('itemdesc')
|| $self->ut_textn('itemcomment')
+ || $self->ut_enum('hidden', [ '', 'Y' ])
;
return $error if $error;