structure controller

This commit is contained in:
2018-12-08 00:22:19 -06:00
parent 75bff89d37
commit 93f11491f8

View File

@@ -72,8 +72,8 @@ class StructureController extends Controller
/**
* Calculate the final taxes and send to display
*/
$tax = CorpStructure::where(['corporation_id' => $corporation, 'structure_type' => 'Citadel'])->get(['tax']);
$rTax = CorpStructure::where(['corporation_id' => $corporation, 'structure_type' => 'Refinery'])->avg('tax');
$taxes = CorpStructure::where(['corporation_id' => $corporation, 'structure_type' => 'Citadel'])->get(['tax']);
$rTaxes = CorpStructure::where(['corporation_id' => $corporation, 'structure_type' => 'Refinery'])->get(['tax']);
dd($tax);
$monthTaxesMarket = $tempMonthTaxesMarket - $marketFuelCost;