X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Fsql_external.pm;h=3cdfe992ea7da097176165e86a37d6094734e364;hb=70a5e47201ffd625d0b146af9ce407d285619690;hp=75c7e132e26b20b0f7d18b8be84932360073155b;hpb=5a78b285800539935217563c961cd5dc8f084cd0;p=freeside.git diff --git a/FS/FS/part_pkg/sql_external.pm b/FS/FS/part_pkg/sql_external.pm index 75c7e132e..3cdfe992e 100644 --- a/FS/FS/part_pkg/sql_external.pm +++ b/FS/FS/part_pkg/sql_external.pm @@ -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; }