From 0927211b3b75ec2f53f34b5b4cdac5af4131db55 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Wed, 13 Feb 2019 21:29:09 -0600 Subject: [PATCH] structuretaxhelper debug --- app/Library/Structures/StructureTaxHelper.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Library/Structures/StructureTaxHelper.php b/app/Library/Structures/StructureTaxHelper.php index fee36735c..3e2e712cc 100644 --- a/app/Library/Structures/StructureTaxHelper.php +++ b/app/Library/Structures/StructureTaxHelper.php @@ -9,8 +9,10 @@ use App\User; use App\Models\User\UserRole; use App\Models\User\UserPermission; + use App\Models\Corporation\CorpStructure; use App\Models\Corporation\CorpTaxRatio; + use App\Models\Finances\CorpMarketJournal; use App\Models\Finances\ReprocessingTaxJournal; use App\Models\Finances\StructureIndustryTaxJournal; @@ -46,7 +48,7 @@ class StructureTaxHelper { $ratio = CorpTaxRatio::where([ 'corporation_id' => $corpId, 'structure_type' => $refType, - ])->get(['ratio']); + ])->get(); dd($ratio); $ratio = $ratio[0]; if($ratio == null) {