mysql billing fixes, 1.9
[freeside.git] / FS / FS / part_event / Condition / cust_bill_owed.pm
index 0fd9922..d8c77c7 100644 (file)
@@ -48,7 +48,7 @@ sub condition_sql {
 
   my $owed_sql = FS::cust_bill->owed_sql;
 
-  "$owed_sql > CAST( $over AS numeric )";
+  "$owed_sql > CAST( $over AS DECIMAL(10,2) )";
 }
 
 1;