summaryrefslogtreecommitdiff
path: root/httemplate/edit/svc_dish.cgi
blob: f7084645474324a57b38f7b9fbf3167978ea006a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<% include( 'elements/svc_Common.html',
            'table'   	=> 'svc_dish',
            'html_foot' => $html_foot,
            'fields'    => \@fields,
    )
%>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?

my $conf = new FS::Conf;
my $date_format = $conf->config('date_format') || '%m/%d/%Y';

my $html_foot = sub { };

my @fields = (
  {
    field => 'acctnum',
    type  => 'text',
    label => 'DISH Account #',
  },
  {
    field => 'installdate',
    type  => 'input-date-field',
    label => 'Install date',
  },
  {
    field => 'note',
    type  => 'textarea',
    rows  => 8,
    cols  => 50,
    label => 'Installation notes',
  },

);
    
</%init>