X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FCondition%2Fcust_bill_owed_under.pm;h=4eb6439b6a5ef524818dab74e29a9b03c70a7b15;hb=df646f944b388e4da5f9d162eb80a03e815dfa1d;hp=a0bf92f27eb7f20d87a14b6403ff455c3cb395fb;hpb=a4bd9a3338b67d27d70953af0f441bb12b39ce05;p=freeside.git diff --git a/FS/FS/part_event/Condition/cust_bill_owed_under.pm b/FS/FS/part_event/Condition/cust_bill_owed_under.pm index a0bf92f27..4eb6439b6 100644 --- a/FS/FS/part_event/Condition/cust_bill_owed_under.pm +++ b/FS/FS/part_event/Condition/cust_bill_owed_under.pm @@ -43,7 +43,7 @@ sub condition_sql { my $owed_sql = FS::cust_bill->owed_sql; - "$owed_sql <= CAST( $under AS numeric )"; + "$owed_sql <= CAST( $under AS DECIMAL(10,2) )"; } 1;