X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FCondition%2Fcust_bill_owed.pm;h=d8c77c77727066b18b705e39d567cb489cbae6b0;hb=f4daf7e8c831fe126dc3fd1d6d0db5ee3b46d602;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..d8c77c777 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 DECIMAL(10,2) )"; } 1;