Update CDBI/money.pm for changes to bills and void_payment.
authorJason Stephenson <jason@sigio.com>
Wed, 8 Jan 2014 01:44:47 +0000 (20:44 -0500)
committerKathy Lussier <klussier@masslnc.org>
Thu, 13 Feb 2014 05:41:26 +0000 (00:41 -0500)
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/money.pm

index ddf366e..9f97423 100644 (file)
@@ -80,7 +80,7 @@ use base qw/money/;
 __PACKAGE__->table('money_billing');
 __PACKAGE__->columns(Primary => 'id');
 __PACKAGE__->columns(Essential => qw/xact amount billing_ts billing_type note
-                                     voided voider void_time btype/);
+                                     btype/);
 #-------------------------------------------------------------------------------
 
 package money::payment;
@@ -144,5 +144,13 @@ __PACKAGE__->table('money_credit_payment');
 
 #-------------------------------------------------------------------------------
 
+package money::void_payment;
+use base qw/money/;
+__PACKAGE__->table('money_void_payment');
+__PACKAGE__->columns(Primary => 'id');
+__PACKAGE__->columns(Essential => qw/xact amount payment_ts note accepting_usr
+                                     amount_collected voided billing/);
+#-------------------------------------------------------------------------------
+
 1;