structure taxes troubleshooting

This commit is contained in:
2019-02-03 01:04:17 -06:00
parent 83f319b3e9
commit c3b6866ba7

View File

@@ -110,17 +110,17 @@ class StructureController extends Controller
} }
public function displayTaxes() { public function displayTaxes() {
//Make the helper esi class //Declare new Lookup helper
$helper = new Esi(); $helper = new LookupHelper();
//Declare the structure tax helper class
$sHelper = new StructureTaxHelper();
$months = 3; $months = 3;
$totalTaxes = array(); $totalTaxes = array();
//Get the character's corporation from esi //Get the character's corporation from the lookup table or esi
$corpId = $helper->FindCorporationId(Auth::user()->character_id); $corpId = $helper->LookupCharacter(Auth::user()->character_id);
//Declare the structure tax helper class
$sHelper = new StructureTaxHelper();
//Get the dates we are working with //Get the dates we are working with
$dates = $sHelper->GetTimeFrameInMonths($months); $dates = $sHelper->GetTimeFrameInMonths($months);