diff options
author | C.J. Adams-Collier <cjac@colliertech.org> | 2014-09-11 12:12:44 -0700 |
---|---|---|
committer | C.J. Adams-Collier <cjac@colliertech.org> | 2014-09-16 17:19:38 -0700 |
commit | 5192ab23dffe251a20b6aa739d39a33ee65ce518 (patch) | |
tree | 2a547ed32a584c49e8dcc69598d63618c82e98b4 /FS/FS/UI | |
parent | a32c436ae3a0c40b71698547d1abe2a2c89b3f8c (diff) |
FS RT #27208 - adding Mobile phone to FS::ConfDefaults::cust_fields_avail and related FS::UI::Web::cust_header / ::cust_sql_fields
Diffstat (limited to 'FS/FS/UI')
-rw-r--r-- | FS/FS/UI/Web.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm index f182e4259..fba4a4598 100644 --- a/FS/FS/UI/Web.pm +++ b/FS/FS/UI/Web.pm @@ -250,6 +250,7 @@ sub cust_header { 'Country' => 'bill_country_full', 'Day phone' => 'daytime', # XXX should use msgcat, but how? 'Night phone' => 'night', # XXX should use msgcat, but how? + 'Mobile phone' => 'mobile', # XXX should use msgcat, but how? 'Fax number' => 'fax', '(bill) Address 1' => 'bill_address1', '(bill) Address 2' => 'bill_address2', @@ -363,7 +364,7 @@ sub cust_sql_fields { } } - foreach my $field (qw(daytime night fax payby)) { + foreach my $field (qw(daytime night mobile fax payby)) { push @fields, $field if (grep { $_ eq $field } @cust_fields); } push @fields, 'agent_custid'; |