X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htetc%2Fhandler.pl;h=cce39be1fcc6e955318eea8c45c1cad79c50d6fb;hp=183a5534b3cca95856810ddcd1fab4254a86fc02;hb=ba1f19e48ec2f2ac293b07a41042de59e744db1e;hpb=22c70177969f30e2e419b32cb5d475c143f10b12 diff --git a/htetc/handler.pl b/htetc/handler.pl index 183a5534b..cce39be1f 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,7 @@ sub handler use Date::Parse; use Time::Local; use Time::Duration; + use DateTime::Format::Strptime; use Lingua::EN::Inflect qw(PL); use Tie::IxHash; use URI::Escape; @@ -142,6 +143,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 +191,9 @@ 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%%% ) { eval '