X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Fhandler.pl;h=f47d4c9bf4e146e1329b16aa5d0975a5939dff3e;hb=3c8870ee619416f126a65c93d5ef7a2f2e24bc96;hp=c03313e0bb5f1138d7681a4aa4407ec680557756;hpb=bb04a0b87f89345d98c43aca0586e88f6e963e16;p=freeside.git diff --git a/htetc/handler.pl b/htetc/handler.pl index c03313e0b..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=>'/usr/local/etc/freeside/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; @@ -142,6 +144,7 @@ sub handler use FS::cust_main_county; use FS::cust_pay; use FS::cust_pkg; + use FS::cust_pkg_reason; use FS::cust_refund; use FS::cust_svc; use FS::nas; @@ -189,6 +192,8 @@ sub handler use FS::access_right; use FS::AccessRight; use FS::svc_phone; + use FS::reason_type; + use FS::reason; use FS::cust_main_note; if ( %%%RT_ENABLED%%% ) {