projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACL for hardware class config, RT#85057
[freeside.git]
/
FS
/
FS
/
hardware_type.pm
diff --git
a/FS/FS/hardware_type.pm
b/FS/FS/hardware_type.pm
index
615c314
..
844ea13
100644
(file)
--- a/
FS/FS/hardware_type.pm
+++ b/
FS/FS/hardware_type.pm
@@
-25,7
+25,7
@@
FS::hardware_type - Object methods for hardware_type records
=head1 DESCRIPTION
An FS::hardware_type object represents a device type (a model name or
=head1 DESCRIPTION
An FS::hardware_type object represents a device type (a model name or
-number) assignable as a hardware service (L<FS::svc_hardware
)
>).
+number) assignable as a hardware service (L<FS::svc_hardware>).
FS::hardware_type inherits from FS::Record. The following fields are
currently supported:
FS::hardware_type inherits from FS::Record. The following fields are
currently supported:
@@
-40,6
+40,8
@@
to which this device type belongs.
=item revision - revision name/number, subordinate to model
=item revision - revision name/number, subordinate to model
+=item title - external ID
+
=back
=head1 METHODS
=back
=head1 METHODS
@@
-104,6
+106,7
@@
sub check {
|| $self->ut_foreign_key('classnum', 'hardware_class', 'classnum')
|| $self->ut_text('model')
|| $self->ut_textn('revision')
|| $self->ut_foreign_key('classnum', 'hardware_class', 'classnum')
|| $self->ut_text('model')
|| $self->ut_textn('revision')
+ || $self->ut_textn('title')
;
return $error if $error;
;
return $error if $error;