structure taxes troubleshooting
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user