projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add quantity to self-service change_pkg, RT#34068
[freeside.git]
/
FS
/
FS
/
cgp_rule_condition.pm
diff --git
a/FS/FS/cgp_rule_condition.pm
b/FS/FS/cgp_rule_condition.pm
index
02ea172
..
772e189
100644
(file)
--- a/
FS/FS/cgp_rule_condition.pm
+++ b/
FS/FS/cgp_rule_condition.pm
@@
-36,7
+36,7
@@
currently supported:
primary key
primary key
-=item condition
+=item condition
name
condition
condition
@@
-113,7
+113,7
@@
sub check {
my $error =
$self->ut_numbern('ruleconditionnum')
my $error =
$self->ut_numbern('ruleconditionnum')
- || $self->ut_text('condition')
+ || $self->ut_text('condition
name
')
|| $self->ut_textn('op')
|| $self->ut_textn('params')
|| $self->ut_foreign_key('rulenum', 'cgp_rule', 'rulenum')
|| $self->ut_textn('op')
|| $self->ut_textn('params')
|| $self->ut_foreign_key('rulenum', 'cgp_rule', 'rulenum')
@@
-125,13
+125,13
@@
sub check {
=item arrayref
=item arrayref
-Returns an array reference of the condition, op and params fields.
+Returns an array reference of the condition
name
, op and params fields.
=cut
sub arrayref {
my $self = shift;
=cut
sub arrayref {
my $self = shift;
- [ map $self->$_, qw( condition op params ) ];
+ [ map $self->$_, qw( condition
name
op params ) ];
}
=back
}
=back