X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_external.pm;h=338fdbcd99b79e06c1610587d402c559edba803d;hp=45b4ef953bb3f555a8a6ea15678972f9c392d7e3;hb=dc83512c36dc6bea2585abada4f88d714c600e55;hpb=9f676c582af6fa384273290713b9d163badc1eaf diff --git a/FS/FS/svc_external.pm b/FS/FS/svc_external.pm index 45b4ef953..338fdbcd9 100644 --- a/FS/FS/svc_external.pm +++ b/FS/FS/svc_external.pm @@ -69,6 +69,15 @@ sub table_info { 'display_weight' => 90, 'cancel_weight' => 10, 'fields' => { + 'id' => { label => 'Unique number of external record', + type => 'text', + disable_default => 1, + disable_fixed => 1, + }, + 'title' => { label => 'Printed on invoice line items', + type => 'text', + #disable_inventory => 1, + }, }, }; } @@ -86,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; } }