diff options
Diffstat (limited to 'httemplate/view/svc_dish.cgi')
| -rw-r--r-- | httemplate/view/svc_dish.cgi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/httemplate/view/svc_dish.cgi b/httemplate/view/svc_dish.cgi new file mode 100644 index 000000000..58da7075a --- /dev/null +++ b/httemplate/view/svc_dish.cgi @@ -0,0 +1,21 @@ +<% include('elements/svc_Common.html', + 'table' => 'svc_dish', + 'labels' => \%labels, + 'fields' => \@fields, + ) +%> +<%init> + +my $fields = FS::svc_dish->table_info->{'fields'}; +my %labels = map { $_ => ( ref($fields->{$_}) + ? $fields->{$_}{'label'} + : $fields->{$_} + ); + } keys %$fields; +my @fields = ('acctnum', + { field => 'installdate', type => 'date' }, + { field => 'note', + value => sub { encode_entities($_[0]->note) } + }, + ); +</%init> |
