summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2010-03-30 12:15:50 +0000
committerivan <ivan>2010-03-30 12:15:50 +0000
commit0e0512c9ede1e4042887e764f1909cadf12bbfb4 (patch)
tree58de0d78c5678f9b97cf57f951512a5e3ebf3df5 /FS
parent18f1fb3831bd99520f02a5ebe717344f71dc866f (diff)
employee commission reporting, RT#6991
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Schema.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 64fb0921c..1d871e2be 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -658,10 +658,11 @@ sub tables_hashref {
'addlinfo', 'text', 'NULL', '', '', '',
'closed', 'char', 'NULL', 1, '', '',
'pkgnum', 'int', 'NULL', '', '', '', #desired pkgnum for pkg-balances
+ 'eventnum', 'int', 'NULL', '', '', '', #triggering event for commission
],
'primary_key' => 'crednum',
'unique' => [],
- 'index' => [ ['custnum'], ['_date'], ['usernum'] ],
+ 'index' => [ ['custnum'], ['_date'], ['usernum'], ['eventnum'] ],
},
'cust_credit_bill' => {