Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / httemplate / view / svc_circuit.html
index c8d5d23..579ef51 100644 (file)
@@ -1,8 +1,9 @@
 <& elements/svc_Common.html,
-  'table'        => 'svc_circuit',
-  'labels'       => \%labels,
-  'fields'       => \@fields,
-  'html_foot'    => sub { $self->call_method('.foot', @_) },
+  'table'       => 'svc_circuit',
+  'labels'      => \%labels,
+  'fields'      => \@fields,
+  'html_foot'   => sub { $self->call_method('.foot', @_) },
+  'edit_url'    => $fsurl.'edit/svc_circuit.html?',
 &>
 <%method .foot>
 % my $svc_circuit = shift;
@@ -53,10 +54,10 @@ my @fields = (
     table     => 'circuit_termination',
     name_col  => 'termination',
   },
-  qw( vendor_qual_id vendor_order_id vendor_order_type vendor_order_status
-      desired_due_date due_date
-      endpoint_ip_addr
-  ),
+  qw( vendor_qual_id vendor_order_id vendor_order_type vendor_order_status ),
+  { field     => 'desired_due_date', type => 'date' },
+  { field     => 'due_date', type => 'date' },
+  'endpoint_ip_addr',
   { field     => 'endpoint_mac_addr', type => 'mac_addr' },
 );