stray closing /TABLE in the no-ticket case
[freeside.git] / httemplate / edit / svc_dish.cgi
1 <% include( 'elements/svc_Common.html',
2             'table'     => 'svc_dish',
3             'html_foot' => $html_foot,
4             'fields'    => \@fields,
5     )
6 %>
7 <%init>
8
9 die "access denied"
10   unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
11
12 my $conf = new FS::Conf;
13 my $date_format = $conf->config('date_format') || '%m/%d/%Y';
14
15 my $html_foot = sub { };
16
17 my @fields = (
18   {
19     field => 'acctnum',
20     type  => 'text',
21     label => 'DISH Account #',
22   },
23   {
24     field => 'installdate',
25     type  => 'input-date-field',
26     label => 'Install date',
27   },
28   {
29     field => 'note',
30     type  => 'textarea',
31     rows  => 8,
32     cols  => 50,
33     label => 'Installation notes',
34   },
35
36 );
37     
38 </%init>