sov bills job work

This commit is contained in:
2020-04-04 02:48:21 -05:00
parent f349094e10
commit dbf5115c0c

View File

@@ -104,7 +104,7 @@ class FinanceHelper {
//For each journal entry, attempt to store it in the database. //For each journal entry, attempt to store it in the database.
//The PutWalletJournal function checks to see if it's already in the database. //The PutWalletJournal function checks to see if it's already in the database.
foreach($wallet as $entry) { foreach($wallet as $entry) {
if($entry['amount'] > 0) { if($entry['amount'] != 0) {
if($entry['ref_type'] == 'brokers_fee') { if($entry['ref_type'] == 'brokers_fee') {
$market->InsertMarketTax($entry, $corpId, $division); $market->InsertMarketTax($entry, $corpId, $division);
} else if($entry['ref_type'] == 'reprocessing_tax') { } else if($entry['ref_type'] == 'reprocessing_tax') {