diff options
author | ivan <ivan> | 2009-04-20 16:58:31 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-04-20 16:58:31 +0000 |
commit | d1f55c07f2a8a0d0e62c7141807803cf1c85f528 (patch) | |
tree | 443174c2bfaf52341ddb95f169998a3f6b24afb5 | |
parent | fb64abae07da986319e65ce5d027d2dab60c34fd (diff) |
add cust_main.archived field, skip billing if Y, RT#4412
-rw-r--r-- | FS/FS/Schema.pm | 2 | ||||
-rw-r--r-- | FS/FS/cust_main.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index bce04e6f0..0aed3ccbe 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -687,6 +687,7 @@ sub tables_hashref { [ 'agentnum' ], [ 'refnum' ], [ 'custbatch' ], [ 'referral_custnum' ], [ 'payby' ], [ 'paydate' ], + [ 'archived' ], #billing [ 'last' ], [ 'company' ], [ 'county' ], [ 'state' ], [ 'country' ], @@ -697,7 +698,6 @@ sub tables_hashref { [ 'ship_county' ], [ 'ship_state' ], [ 'ship_country' ], [ 'ship_zip' ], [ 'ship_daytime' ], [ 'ship_night' ], [ 'ship_fax' ], - [ 'archived' ], ], }, diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index a62987b32..3296cf543 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1774,7 +1774,7 @@ sub check { $self->payname($1); } - foreach my $flag (qw( tax spool_cdr squelch_cdr )) { + foreach my $flag (qw( tax spool_cdr squelch_cdr archived )) { $self->$flag() =~ /^(Y?)$/ or return "Illegal $flag: ". $self->$flag(); $self->$flag($1); } |