updated quick payment entry
[freeside.git] / htetc / handler.pl
index c144eca..851b2e7 100644 (file)
@@ -20,6 +20,8 @@ use HTML::Mason::ApacheHandler;
 
 use strict;
 
+###use Module::Refresh;###
+
 # List of modules that you want to use from components (see Admin
 # manual for details)
 #{  package HTML::Mason::Commands;
@@ -95,7 +97,9 @@ sub handler
       use Time::Local;
       use Time::Duration;
       use Tie::IxHash;
+      use URI::Escape;
       use HTML::Entities;
+      use JSON;
       use IO::Handle;
       use IO::File;
       use IO::Scalar;
@@ -109,7 +113,7 @@ sub handler
       use Business::CreditCard;
       use String::Approx qw(amatch);
       use Chart::LinesPoints;
-      use HTML::Widgets::SelectLayers 0.03;
+      use HTML::Widgets::SelectLayers 0.05;
       use FS;
       use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name);
       use FS::Record qw(qsearch qsearchs fields dbdef);
@@ -118,7 +122,7 @@ sub handler
                      small_custview myexit http_header);
       use FS::UI::Web;
       use FS::Msgcat qw(gettext geterror);
-      use FS::Misc qw( send_email );
+      use FS::Misc qw( send_email send_fax );
       use FS::Report::Table::Monthly;
       use FS::TicketSystem;
 
@@ -164,6 +168,8 @@ sub handler
       use FS::rate;
       use FS::rate_region;
       use FS::rate_prefix;
+      use FS::payment_gateway;
+      use FS::agent_payment_gateway;
       use FS::XMLRPC;
 
       if ( %%%RT_ENABLED%%% ) {
@@ -267,6 +273,8 @@ sub handler
 
     } # end package HTML::Mason::Commands;
 
+    ###Module::Refresh->refresh;###
+
     $r->content_type('text/html');
     #eorar