structure controller

This commit is contained in:
2018-12-11 21:13:58 -06:00
parent 6a92daa8d0
commit f397be1162
2 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ class StructureController extends Controller
'thisMonthRevRefinery' => number_format($this->GetRevenue($corpId, 'Refinery', $dates['ThisMonthStart'], $dates['ThisMonthEnd']), 2, '.', ','), 'thisMonthRevRefinery' => number_format($this->GetRevenue($corpId, 'Refinery', $dates['ThisMonthStart'], $dates['ThisMonthEnd']), 2, '.', ','),
'lastMonthRevMarket' => number_format($this->GetRevenue($corpId, 'Market', $dates['LastMonthStart'], $dates['LastMonthEnd']), 2, '.', ','), 'lastMonthRevMarket' => number_format($this->GetRevenue($corpId, 'Market', $dates['LastMonthStart'], $dates['LastMonthEnd']), 2, '.', ','),
'lastMonthRevRefinery' => number_format($this->GetRevenue($corpId, 'Refinery', $dates['LastMonthStart'], $dates['LastMonthEnd']), 2, '.', ','), 'lastMonthRevRefinery' => number_format($this->GetRevenue($corpId, 'Refinery', $dates['LastMonthStart'], $dates['LastMonthEnd']), 2, '.', ','),
'thisMonthStart' => $dates['ThisMonthStart'], 'thisMonthStart' => $dates['ThisMonthStart']->month,
'thisMonthEnd' => $dates['ThisMonthEnd'], 'thisMonthEnd' => $dates['ThisMonthEnd'],
'lastMonthStart' => $dates['LastMonthStart'], 'lastMonthStart' => $dates['LastMonthStart'],
'lastMonthEnd' => $dates['LastMonthEnd'], 'lastMonthEnd' => $dates['LastMonthEnd'],

View File

@@ -11,9 +11,9 @@
<thead> <thead>
<th>Month</th> <th>Month</th>
<th>Market Tax</th> <th>Market Tax</th>
<th>Market Revenue</th> <th>Market Revenue Minus Fuel Cost</th>
<th>Refinery Tax</th> <th>Refinery Tax</th>
<th>Refinery Revenue</th> <th>Refinery Revenue Minus Fuel Cost</th>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>