From ecd0461b55273efb0b068657fabd51218557eff3 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 5 Jan 2019 19:47:12 -0600 Subject: [PATCH] industry taxes testing --- app/Library/Finances/StructureIndustryTax.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Library/Finances/StructureIndustryTax.php b/app/Library/Finances/StructureIndustryTax.php index 35b0c3a22..896f23751 100644 --- a/app/Library/Finances/StructureIndustryTax.php +++ b/app/Library/Finances/StructureIndustryTax.php @@ -21,8 +21,8 @@ class StructureIndustryTax { //Check to see if we can find the entry in the database already. //If we don't then add it to the database - if(!CorpMarketJournal::where(['id' => $journal['id']])->exists()) { - $entry = new CorpMarketJournal; + if(!StructureIndustryTaxJournal::where(['id' => $journal['id']])->exists()) { + $entry = new StructureIndustryTaxJournal; $entry->id = $journal['id']; $entry->corporation_id = $corpId; $entry->division = $division;