RT# 82087 - added logging for decode json error
[freeside.git] / FS / FS / part_pkg / sql_external.pm
index 75c7e13..3cdfe99 100644 (file)
@@ -44,6 +44,7 @@ our @detail_cols = ( qw(amount format duration phonenum accountcode
                        'default' => '',
                      },
     'query' => { 'name' => 'SQL query',
+                'type' => 'textarea',
                  'default' => '',
                },
 
@@ -146,8 +147,7 @@ sub calc_recur {
 
 sub cutoff_day {
   my( $self, $cust_pkg ) = @_;
-  my $error = SUPER->cutoff_day($cust_pkg);
-  #my $error = FS::part_pkg::flat::cutoff_day( $self, $cust_pkg ));
+  my $error = FS::part_pkg::flat::cutoff_day( $self, $cust_pkg );
   return $error;
 }