X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FCondition%2Fcust_bill_owed.pm;h=0fd9922821da1153dcf0330f5f8003636d3461cf;hb=5678372f90e81a312d04c615f810cde05c224aca;hp=5e582ef698dd1bd40f1c6b70b1362af2b1f08b79;hpb=efac4a4045b9311fc68bbca284919d24bb1a3c2e;p=freeside.git diff --git a/FS/FS/part_event/Condition/cust_bill_owed.pm b/FS/FS/part_event/Condition/cust_bill_owed.pm index 5e582ef69..0fd992282 100644 --- a/FS/FS/part_event/Condition/cust_bill_owed.pm +++ b/FS/FS/part_event/Condition/cust_bill_owed.pm @@ -48,7 +48,7 @@ sub condition_sql { my $owed_sql = FS::cust_bill->owed_sql; - "$owed_sql > $over"; + "$owed_sql > CAST( $over AS numeric )"; } 1;