fix TeleAPI import (what kind of crack was Christopher smoking that he couldn't fix...
[freeside.git] / FS / FS / svc_external.pm
index 0fb391f..338fdbc 100644 (file)
@@ -76,7 +76,7 @@ sub table_info {
                  },
       'title' => { label => 'Printed on invoice line items',
                    type  => 'text',
-                   disable_inventory => 1,
+                   #disable_inventory => 1,
                  },
     },
   };
@@ -95,6 +95,7 @@ sub label {
       substr('0000000000'.uc($self->title), -10);
   } else {
     #$self->SUPER::label;
+    return $self->id unless $self->title =~ /\S/;
     $self->id. ' - '. $self->title;
   }
 }