X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_dish.pm;h=5c9e21710c741dff20e6c7de937f04b463ff5166;hp=5dac4f4d5dab71a2106a9cc506a2b1a5cbbc2810;hb=aed8ec35ccb9cdeb7ea0cb6ff2946f9d83d582f6;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984 diff --git a/FS/FS/svc_dish.pm b/FS/FS/svc_dish.pm index 5dac4f4d5..5c9e21710 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 @@ -62,8 +64,9 @@ sub table_info { 'display_weight' => 58, 'cancel_weight' => 85, 'fields' => { - 'svcnum' => { label => 'Service' }, - 'acctnum' => { label => 'DISH account#', %opts }, + 'svcnum' => { label => 'Service' }, + 'acctnum' => { label => 'DISH account#', %opts }, + 'installdate' => { label => 'Install date', %opts }, 'note' => { label => 'Installation notes', %opts }, } } @@ -112,7 +115,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;