diff options
author | ivan <ivan> | 2004-07-06 13:26:21 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-07-06 13:26:21 +0000 |
commit | cfe85e45bcba97089988b4dc22a895aec687f2c3 (patch) | |
tree | 398e4b9426b600a4add79ebfd87598977e91d71e /FS/bin/freeside-setup | |
parent | 62b9467f16b67a95742a4ef060246e7e2fbf387c (diff) |
add cust_pay_void table and payment voiding web ui part one
Diffstat (limited to 'FS/bin/freeside-setup')
-rwxr-xr-x | FS/bin/freeside-setup | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup index 33b3465e0..119b09d5d 100755 --- a/FS/bin/freeside-setup +++ b/FS/bin/freeside-setup @@ -552,6 +552,26 @@ sub tables_hash_hack { 'index' => [ [ 'custnum' ], [ 'paybatch' ], [ 'payby' ], [ '_date' ] ], }, + 'cust_pay_void' => { + 'columns' => [ + 'paynum', 'int', '', '', + 'custnum', 'int', '', '', + 'paid', @money_type, + '_date', @date_type, + 'payby', 'char', '', 4, # CARD/BILL/COMP, should be index into + # payment type table. + 'payinfo', 'varchar', 'NULL', $char_d, #see cust_main above + 'paybatch', 'varchar', 'NULL', $char_d, #for auditing purposes. + 'closed', 'char', 'NULL', 1, + 'void_date', @date_type, + 'reason', 'varchar', 'NULL', $char_d, + 'otaker', 'varchar', '', 32, + ], + 'primary_key' => 'paynum', + 'unique' => [], + 'index' => [ [ 'custnum' ] ], + }, + 'cust_bill_pay' => { 'columns' => [ 'billpaynum', 'serial', '', '', |