invoice_sections_with_taxes per-agent, RT#79636
[freeside.git] / httemplate / view / svc_dish.cgi
1 <% include('elements/svc_Common.html',
2             'table'        => 'svc_dish',
3             'labels'       => \%labels,
4             'fields'       => \@fields,
5           )
6 %>
7 <%init>
8
9 my $fields = FS::svc_dish->table_info->{'fields'};
10 my %labels = map { $_ =>  ( ref($fields->{$_})
11                              ? $fields->{$_}{'label'}
12                              : $fields->{$_}
13                          );
14                  } keys %$fields;
15 my @fields = ('acctnum',
16               { field => 'installdate', type => 'date' },
17               { field => 'note', 
18                 value => sub { encode_entities($_[0]->note) } 
19               },
20               );
21 </%init>