projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
option to force one-time charges to be billed separately, #32866
[freeside.git]
/
FS
/
FS
/
part_export_option.pm
diff --git
a/FS/FS/part_export_option.pm
b/FS/FS/part_export_option.pm
index
61ea956
..
17bcf00
100644
(file)
--- a/
FS/FS/part_export_option.pm
+++ b/
FS/FS/part_export_option.pm
@@
-1,11
+1,8
@@
package FS::part_export_option;
package FS::part_export_option;
+use base qw(FS::Record);
use strict;
use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::part_export;
-
-@ISA = qw(FS::Record);
+use FS::Record qw( qsearchs ); #qw( qsearch qsearchs );
=head1 NAME
=head1 NAME
@@
-104,9
+101,9
@@
sub check {
my $error =
$self->ut_numbern('optionnum')
my $error =
$self->ut_numbern('optionnum')
- || $self->ut_
number(
'exportnum')
+ || $self->ut_
foreign_key('exportnum', 'part_export',
'exportnum')
|| $self->ut_alpha('optionname')
|| $self->ut_alpha('optionname')
- || $self->ut_
textn
('optionvalue')
+ || $self->ut_
anything
('optionvalue')
;
return $error if $error;
;
return $error if $error;
@@
-115,7
+112,7
@@
sub check {
#check options & values?
#check options & values?
- ''; #no error
+ $self->SUPER::check;
}
=back
}
=back