X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fprepay_credit.pm;h=bf85dfaa657415134757291be4aedb8c816322ae;hb=03e436e3fe437a4d8e5516068ef50f2544aa4287;hp=92f2a303247f3d8d852107a77ee03894d37dd177;hpb=673b9a458d9138523026963df6fa3b4683e09bae;p=freeside.git diff --git a/FS/FS/prepay_credit.pm b/FS/FS/prepay_credit.pm index 92f2a3032..bf85dfaa6 100644 --- a/FS/FS/prepay_credit.pm +++ b/FS/FS/prepay_credit.pm @@ -61,7 +61,7 @@ fields are currently supported: =item new HASHREF -Creates a new pre-paid credit. To add the example to the database, see +Creates a new pre-paid credit. To add the pre-paid credit to the database, see L<"insert">. Note that this stores the hash reference, not a distinct copy of the hash it @@ -110,6 +110,9 @@ sub check { || $self->ut_alpha('identifier') || $self->ut_money('amount') || $self->ut_numbern('seconds') + || $self->ut_numbern('upbytes') + || $self->ut_numbern('downbytes') + || $self->ut_numbern('totalbytes') || $self->ut_foreign_keyn('agentnum', 'agent', 'agentnum') || $self->SUPER::check ;