X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpkg_svc.pm;h=fa82ec05bccfe7cf47276633fbe3c9c1929fda6f;hp=9f3a4a1b711174e860a98ef1639a15ec9d99ca04;hb=b03bd63dcee4fce35d86e906b0379acdb6c76c27;hpb=63a268637b2d51a8766412617724b9436439deb6 diff --git a/FS/FS/pkg_svc.pm b/FS/FS/pkg_svc.pm index 9f3a4a1b7..fa82ec05b 100644 --- a/FS/FS/pkg_svc.pm +++ b/FS/FS/pkg_svc.pm @@ -50,6 +50,10 @@ definition includes =item primary_svc - primary flag, empty or 'Y' +=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 @@ -109,6 +113,8 @@ sub check { || $self->ut_number('pkgpart') || $self->ut_number('svcpart') || $self->ut_number('quantity') + || $self->ut_enum('hidden', [ '', 'Y' ] ) + || $self->ut_flag('provision_hold') ; return $error if $error;