better display/edit of contacts on customer view, RT#16819
[freeside.git] / httemplate / view / svc_hardware.cgi
index 1d88235..7f5e889 100644 (file)
@@ -6,6 +6,7 @@
 %>
 <%init>
 
+my $conf = new FS::Conf;
 my $fields = FS::svc_hardware->table_info->{'fields'};
 my %labels = map { $_ =>  ( ref($fields->{$_})
                              ? $fields->{$_}{'label'}
@@ -24,5 +25,14 @@ my $note =   { field => 'note',
                type  => 'text',
                value => sub { encode_entities($_[0]->note) }
              };
-my @fields = ($model, qw( serial hw_addr ip_addr smartcard ), $status, $note );
+
+my @fields = (
+  $model,
+  'serial',
+  'display_hw_addr',
+  'ip_addr',
+  'smartcard',
+  $status,
+  $note,
+);
 </%init>