diff options
author | Mark Wells <mark@freeside.biz> | 2014-02-27 17:06:41 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-02-27 17:06:41 -0800 |
commit | beff2bed3d06a91072427a15efef08b24c7cc8df (patch) | |
tree | 766f67c17b70af25083bbebdfc9ea549d8ce5247 /FS/FS/Schema.pm | |
parent | 07644a5463751fdaeb0dcd9cc3caf2d19eb877df (diff) |
fix payment voiding, fallout from #13971
Diffstat (limited to 'FS/FS/Schema.pm')
-rw-r--r-- | FS/FS/Schema.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 295ddbdec..321fb3f07 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -2235,6 +2235,7 @@ sub tables_hashref { 'gatewaynum', 'int', 'NULL', '', '', '', #'cust_balance', @money_type, '', '', 'paynum', 'int', 'NULL', '', '', '', + 'void_paynum', 'int', 'NULL', '', '', '', 'jobnum', 'bigint', 'NULL', '', '', '', 'invnum', 'int', 'NULL', '', '', '', 'manual', 'char', 'NULL', 1, '', '', @@ -2257,6 +2258,10 @@ sub tables_hashref { { columns => [ 'paynum' ], table => 'cust_pay', }, + { columns => [ 'void_paynum' ], + table => 'cust_pay_void', + references => [ 'paynum' ], + }, { columns => [ 'jobnum' ], table => 'queue', }, |