updated quick payment entry
[freeside.git] / htetc / global.asa
index 482572a..bb30608 100644 (file)
@@ -10,19 +10,25 @@ use CGI 2.47;
 use Date::Format;
 use Date::Parse;
 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;
 use Net::Whois::Raw qw(whois);
 if ( $] < 5.006 ) {
   eval "use Net::Whois::Raw 0.32 qw(whois)";
   die $@ if $@;
 }
+use Text::CSV_XS;
+use Spreadsheet::WriteExcel;
 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);
@@ -42,7 +48,7 @@ use FS::cust_bill;
 use FS::cust_bill_pay;
 use FS::cust_credit;
 use FS::cust_credit_bill;
-use FS::cust_main;
+use FS::cust_main qw(smart_search);
 use FS::cust_main_county;
 use FS::cust_pay;
 use FS::cust_pkg;
@@ -77,6 +83,8 @@ use FS::msgcat;
 use FS::rate;
 use FS::rate_region;
 use FS::rate_prefix;
+use FS::payment_gateway;
+use FS::agent_payment_gateway;
 
 sub Script_OnStart {
   $Response->AddHeader('Cache-control' => 'no-cache');