Finance Helper

This commit is contained in:
2018-12-07 03:32:42 -06:00
parent 071d58d0e0
commit de90425e50
+5 -2
View File
@@ -132,9 +132,12 @@ class FinanceHelper {
//For each journal entry, attempt to store it in the database.
//The PutWalletJournal function checks to see if it's already in the database.
foreach($wallet as $entry) {
if($entry['ref_type'] == 'brokers_fee' || $entry['ref_type'] == 'reprocessing_tax' || $entry['ref_type'] == 'jumpgate_fee') {
$this->PutWalletJournal($entry, $corpId, $division);
if($entry['amount'] > 0) {
if($entry['ref_type'] == 'brokers_fee' || $entry['ref_type'] == 'reprocessing_tax' || $entry['ref_type'] == 'jumpgate_fee') {
$this->PutWalletJournal($entry, $corpId, $division);
}
}
}
//Increment the current page we are on.