projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
multiple payment options, RT#23741
[freeside.git]
/
FS
/
FS
/
cust_location.pm
diff --git
a/FS/FS/cust_location.pm
b/FS/FS/cust_location.pm
index
66fd7a0
..
e5d2e72
100644
(file)
--- a/
FS/FS/cust_location.pm
+++ b/
FS/FS/cust_location.pm
@@
-94,6
+94,11
@@
Geocode
Tax district code (optional)
Tax district code (optional)
+=item incorporated
+
+Incorporated city flag: set to 'Y' if the address is in the legal borders
+of an incorporated city.
+
=item disabled
Disabled flag; set to 'Y' to disable the location.
=item disabled
Disabled flag; set to 'Y' to disable the location.
@@
-340,6
+345,7
@@
sub check {
|| $self->ut_alphan('geocode')
|| $self->ut_alphan('district')
|| $self->ut_numbern('censusyear')
|| $self->ut_alphan('geocode')
|| $self->ut_alphan('district')
|| $self->ut_numbern('censusyear')
+ || $self->ut_flag('incorporated')
;
return $error if $error;
if ( $self->censustract ne '' ) {
;
return $error if $error;
if ( $self->censustract ne '' ) {