projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 78356 - cleaned up error message display
[freeside.git]
/
FS
/
FS
/
svc_external.pm
diff --git
a/FS/FS/svc_external.pm
b/FS/FS/svc_external.pm
index
0fb391f
..
338fdbc
100644
(file)
--- a/
FS/FS/svc_external.pm
+++ b/
FS/FS/svc_external.pm
@@
-76,7
+76,7
@@
sub table_info {
},
'title' => { label => 'Printed on invoice line items',
type => 'text',
},
'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;
substr('0000000000'.uc($self->title), -10);
} else {
#$self->SUPER::label;
+ return $self->id unless $self->title =~ /\S/;
$self->id. ' - '. $self->title;
}
}
$self->id. ' - '. $self->title;
}
}