77a223933240eedd0d98c8e7d2f3549d41e32f46
[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 => 'note',
25     type  => 'textarea',
26     rows  => 4,
27     cols  => 30,
28     label => 'Installation notes',
29   },
30
31 );
32     
33 </%init>