X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_dish.pm;h=2d249d17f104e5f0e578c649b48667c40d1f21db;hp=5dac4f4d5dab71a2106a9cc506a2b1a5cbbc2810;hb=bb7e827141c9ed68f30765c9ca2ddcd1d760ad2d;hpb=b65b8096089410001dfbcd35f9a56f9405b9f5f1 diff --git a/FS/FS/svc_dish.pm b/FS/FS/svc_dish.pm index 5dac4f4d5..2d249d17f 100644 --- a/FS/FS/svc_dish.pm +++ b/FS/FS/svc_dish.pm @@ -36,6 +36,8 @@ The following fields are currently supported: =item acctnum - DISH account number +=item installdate - Installation date (as Unix timestamp) + =item note - Installation notes: location on property, physical access, etc. =back @@ -61,9 +63,11 @@ sub table_info { 'name' => 'Dish service', 'display_weight' => 58, 'cancel_weight' => 85, + 'manual_require' => 1, 'fields' => { - 'svcnum' => { label => 'Service' }, - 'acctnum' => { label => 'DISH account#', %opts }, + 'svcnum' => { label => 'Service' }, + 'acctnum' => { label => 'DISH account#', required => 1, %opts }, + 'installdate' => { label => 'Install date', %opts }, 'note' => { label => 'Installation notes', %opts }, } } @@ -112,7 +116,8 @@ sub check { my $error = $self->ut_numbern('svcnum') || $self->ut_text('acctnum') - || $self->ut_textn('note') + || $self->ut_numbern('installdate') + || $self->ut_anything('note') ; return $error if $error;