summaryrefslogtreecommitdiff
path: root/bin/fs-setup
diff options
context:
space:
mode:
authorivan <ivan>2001-09-02 02:46:55 +0000
committerivan <ivan>2001-09-02 02:46:55 +0000
commit8c1f9804d9a02c0c054eededeb500c72a640249a (patch)
tree20d0161443eb1366279937378f3aee16cc542eec /bin/fs-setup
parent51e148d543a59a3cdec24bfb5ffb839ee7b4ac72 (diff)
cust_refund and cust_pay get custnums
Diffstat (limited to 'bin/fs-setup')
-rwxr-xr-xbin/fs-setup4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/fs-setup b/bin/fs-setup
index 71d53ef85..5e735294f 100755
--- a/bin/fs-setup
+++ b/bin/fs-setup
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: fs-setup,v 1.47 2001-09-01 22:18:38 ivan Exp $
+# $Id: fs-setup,v 1.48 2001-09-02 02:46:55 ivan Exp $
#to delay loading dbdef until we're ready
BEGIN { $FS::Record::setup_hack = 1; }
@@ -412,6 +412,7 @@ sub tables_hash_hack {
'columns' => [
'paynum', 'int', '', '',
#now cust_bill_pay #'invnum', 'int', '', '',
+ 'custnum', 'int', '', '',
'paid', @money_type,
'_date', @date_type,
'payby', 'char', '', 4, # CARD/BILL/COMP, should be index into
@@ -483,6 +484,7 @@ sub tables_hash_hack {
'columns' => [
'refundnum', 'int', '', '',
#now cust_credit_refund #'crednum', 'int', '', '',
+ 'custnum', 'int', '', '',
'_date', @date_type,
'refund', @money_type,
'otaker', 'varchar', '', 8,