From d521a0e593ff297e9cf8d84ed66f3445287a098e Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Mon, 15 Feb 2021 19:00:38 +0900 Subject: [PATCH] alliance wallet journal --- app/Library/Helpers/FinanceHelper.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Library/Helpers/FinanceHelper.php b/app/Library/Helpers/FinanceHelper.php index 67fad0743..e451284c6 100644 --- a/app/Library/Helpers/FinanceHelper.php +++ b/app/Library/Helpers/FinanceHelper.php @@ -96,7 +96,7 @@ class FinanceHelper { //Foreach journal entry, add the journal entry to the table foreach($wallet as $entry) { - /* + //See if we find the entry id in the database already $found = AllianceWalletJournal::where([ 'id' => $entry['id'], @@ -138,8 +138,8 @@ class FinanceHelper { } } - */ - + + /* AllianceWalletJournal::insertOrIgnore([ 'id' => $entry->id, 'corporation_id' => $corpId, @@ -155,6 +155,7 @@ class FinanceHelper { 'tax' => $entry->tax, 'tax_receiver_id' => $entry->tax_receiver_id, ]); + */ } } else { /**