+=item label
+
+Returns the MAC address and serial number.
+
+=cut
+
+sub label {
+ my $self = shift;
+ my $part_svc = $self->cust_svc->part_svc;
+ my @label = ();
+ push @label, 'MAC:'. $self->mac_addr_pretty
+ if $self->mac_addr;
+ if ( $self->serialnum ) {
+ my $serialnum_label = $part_svc->part_svc_column('serialnum');
+ push @label,
+ ($serialnum_label && $serialnum_label->columnlabel || 'Serial#').
+ $self->serialnum;
+ }
+ return join(', ', @label);
+}
+