summaryrefslogtreecommitdiff
path: root/FS/FS/pkg_svc.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-07-31 01:33:11 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-07-31 01:33:11 -0500
commit41aef8bd93f7cc3a39056a8fd997d3072dfcdf8a (patch)
treec25c423c6b60fa13322455b80d4eee55ea5c278d /FS/FS/pkg_svc.pm
parent567d7b5d7cc2abd4e91cd2f05ee5195d70f62a0f (diff)
RT#18361: Delay package from billing until services are provisioned
Diffstat (limited to 'FS/FS/pkg_svc.pm')
-rw-r--r--FS/FS/pkg_svc.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/pkg_svc.pm b/FS/FS/pkg_svc.pm
index 4efffd9b3..b2dc87042 100644
--- a/FS/FS/pkg_svc.pm
+++ b/FS/FS/pkg_svc.pm
@@ -47,6 +47,8 @@ definition includes
=item hidden - 'Y' to hide this service on invoices, null otherwise.
+=item provision_hold - 'Y' to release package hold when all services marked with this are provisioned
+
=back
=head1 METHODS
@@ -107,6 +109,7 @@ sub check {
|| $self->ut_number('svcpart')
|| $self->ut_number('quantity')
|| $self->ut_enum('hidden', [ '', 'Y' ] )
+ || $self->ut_flag('provision_hold')
;
return $error if $error;