X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Fhandler.pl;h=f47d4c9bf4e146e1329b16aa5d0975a5939dff3e;hb=3c8870ee619416f126a65c93d5ef7a2f2e24bc96;hp=3f3886b3a59195fdfa1ca42d4440a695554a0c2c;hpb=7422aa77086326ba1e6032150ce5704d1003ea6f;p=freeside.git diff --git a/htetc/handler.pl b/htetc/handler.pl index 3f3886b3a..f47d4c9bf 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -60,7 +60,7 @@ my $ah = new HTML::Mason::ApacheHandler ( [ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ], [ 'rt' => '%%%FREESIDE_DOCUMENT_ROOT%%%/rt' ], ], - data_dir=>'%%%FREESIDE_CONF%%%/masondata', + data_dir=>'%%%MASONDATA%%%', #out_mode=>'stream', #RT @@ -97,6 +97,8 @@ sub handler use Date::Parse; use Time::Local; use Time::Duration; + use DateTime; + use DateTime::Format::Strptime; use Lingua::EN::Inflect qw(PL); use Tie::IxHash; use URI::Escape; @@ -112,12 +114,12 @@ sub handler } use Text::CSV_XS; use Spreadsheet::WriteExcel; - use Business::CreditCard; + use Business::CreditCard 0.30; #for mask-aware cardtype() use String::Approx qw(amatch); use Chart::LinesPoints; use Chart::Mountain; use Color::Scheme; - use HTML::Widgets::SelectLayers 0.05; + use HTML::Widgets::SelectLayers 0.06; use Locale::Country; use FS; use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name); @@ -127,7 +129,7 @@ sub handler eidiot small_custview myexit http_header); use FS::UI::Web; use FS::Msgcat qw(gettext geterror); - use FS::Misc qw( send_email send_fax states_hash state_label ); + use FS::Misc qw( send_email send_fax states_hash counties state_label ); use FS::Report::Table::Monthly; use FS::TicketSystem;