summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill_pkg_detail.pm
diff options
context:
space:
mode:
authorivan <ivan>2009-09-11 15:51:38 +0000
committerivan <ivan>2009-09-11 15:51:38 +0000
commit539b6216a17a5423431d430022c4e0f9581a9d2f (patch)
treef830ccd984911078f896bd201e156037c1a5ebd7 /FS/FS/cust_bill_pkg_detail.pm
parent95eb0cf9e534746593d906ad324de23ee46279b4 (diff)
fix (hopefully the rest of the) fallout from rating CDRs to sub-penny amounts
Diffstat (limited to 'FS/FS/cust_bill_pkg_detail.pm')
-rw-r--r--FS/FS/cust_bill_pkg_detail.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_bill_pkg_detail.pm b/FS/FS/cust_bill_pkg_detail.pm
index 008f3ff..8869441 100644
--- a/FS/FS/cust_bill_pkg_detail.pm
+++ b/FS/FS/cust_bill_pkg_detail.pm
@@ -118,7 +118,8 @@ sub check {
$self->ut_numbern('detailnum')
|| $self->ut_foreign_key('billpkgnum', 'cust_bill_pkg', 'billpkgnum')
- || $self->ut_moneyn('amount')
+ #|| $self->ut_moneyn('amount')
+ || $self->ut_float('amount')
|| $self->ut_enum('format', [ '', 'C' ] )
|| $self->ut_text('detail')
|| $self->ut_foreign_keyn('classnum', 'usage_class', 'classnum')