pi sales gross stuff on admin page

This commit is contained in:
2019-04-20 03:14:32 -05:00
parent bf089edcb3
commit 057710e45c

View File

@@ -71,6 +71,11 @@ class AdminController extends Controller
'date' => $date['start']->toFormattedDateString(), 'date' => $date['start']->toFormattedDateString(),
'gross' => number_format($tHelper->GetJumpGateGross($date['start'], $date['end']), 2, ".", ","), 'gross' => number_format($tHelper->GetJumpGateGross($date['start'], $date['end']), 2, ".", ","),
]; ];
$pigross[] = [
'date' => $date['start']->toFormattedDateString(),
'gross' => number_format($tHelper->GetPiSalesGross($date['start'], $date['end']), 2, ".", ","),
]
} }
/** Users & Permissions Pane */ /** Users & Permissions Pane */
@@ -110,7 +115,8 @@ class AdminController extends Controller
->with('markets', $markets) ->with('markets', $markets)
->with('jumpgates', $jumpgates) ->with('jumpgates', $jumpgates)
->with('reprocessings', $reprocessings) ->with('reprocessings', $reprocessings)
->with('entities', $entities); ->with('entities', $entities)
->with('pigross', $pigross);
} }
public function modifyRole(Request $request) { public function modifyRole(Request $request) {