summaryrefslogtreecommitdiff
path: root/FS/FS/svc_dish.pm
diff options
context:
space:
mode:
authormark <mark>2011-04-29 08:58:19 +0000
committermark <mark>2011-04-29 08:58:19 +0000
commit91fd4ea0e91ee9e6717e0b12e01eebb8f8b21322 (patch)
tree9d2cb55cb767422e00e6cadd6c91714a77e87943 /FS/FS/svc_dish.pm
parent4cd3537f6e3e14a596c67478bb83b2095303ec50 (diff)
svc_dish and svc_hardware fixes, #11454
Diffstat (limited to 'FS/FS/svc_dish.pm')
-rw-r--r--FS/FS/svc_dish.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/FS/FS/svc_dish.pm b/FS/FS/svc_dish.pm
index 5dac4f4..e254bf5 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,6 +115,7 @@ sub check {
my $error =
$self->ut_numbern('svcnum')
|| $self->ut_text('acctnum')
+ || $self->ut_numbern('installdate')
|| $self->ut_textn('note')
;
return $error if $error;