diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-12-04 14:37:35 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-12-04 14:37:35 -0800 |
commit | 796d991531fd0d630bf0db9e87447e0459c7e5d6 (patch) | |
tree | 8d658ae6943cd905a14536e77daf8092f2a44510 /FS/FS/cust_main.pm | |
parent | c0f97a82840821c3520b719694dbdb552f1e6416 (diff) |
add northern cyprus, RT#39335
Diffstat (limited to 'FS/FS/cust_main.pm')
-rw-r--r-- | FS/FS/cust_main.pm | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index dcf642b..4fb4f52 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -28,7 +28,6 @@ use Date::Format; #use Date::Manip; use File::Temp; #qw( tempfile ); use Business::CreditCard 0.28; -use Locale::Country; use FS::UID qw( dbh driver_name ); use FS::Record qw( qsearchs qsearch dbdef regexp_sql ); use FS::Cursor; @@ -3869,26 +3868,14 @@ sub ship_contact_firstlast { $contact->get('first') . ' '. $contact->get('last'); } -#XXX this doesn't work in 3.x+ -#=item country_full -# -#Returns this customer's full country name -# -#=cut -# -#sub country_full { -# my $self = shift; -# code2country($self->country); -#} - sub bill_country_full { my $self = shift; - code2country($self->bill_location->country); + $self->bill_location->country_full; } sub ship_country_full { my $self = shift; - code2country($self->ship_location->country); + $self->ship_location->country_full; } =item county_state_county [ PREFIX ] |