[freeside-commits] freeside/htetc handler.pl,1.65,1.66

Ivan,,, ivan at wavetail.420.am
Mon Apr 3 02:46:59 PDT 2006


Update of /home/cvs/cvsroot/freeside/htetc
In directory wavetail:/tmp/cvs-serv8347/htetc

Modified Files:
	handler.pl 
Log Message:
have the UI use full country names, and state names outside the US...

Index: handler.pl
===================================================================
RCS file: /home/cvs/cvsroot/freeside/htetc/handler.pl,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- handler.pl	9 Mar 2006 13:42:40 -0000	1.65
+++ handler.pl	3 Apr 2006 09:46:56 -0000	1.66
@@ -114,6 +114,7 @@
       use String::Approx qw(amatch);
       use Chart::LinesPoints;
       use HTML::Widgets::SelectLayers 0.05;
+      use Locale::Country;
       use FS;
       use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name);
       use FS::Record qw(qsearch qsearchs fields dbdef);
@@ -122,7 +123,7 @@
                      eidiot small_custview myexit http_header);
       use FS::UI::Web;
       use FS::Msgcat qw(gettext geterror);
-      use FS::Misc qw( send_email send_fax );
+      use FS::Misc qw( send_email send_fax states_hash state_label );
       use FS::Report::Table::Monthly;
       use FS::TicketSystem;
 
@@ -208,6 +209,7 @@
         my( $self, $location ) = @_;
         use vars qw($m);
 
+        # false laziness w/below
         if ( defined(@DBIx::Profile::ISA) ) { #profiling redirect
 
           my $page =



More information about the freeside-commits mailing list