dashboard stuff

This commit is contained in:
2019-10-12 21:14:48 -05:00
parent dc192f0d77
commit e23c9f31de
2 changed files with 5 additions and 3 deletions

View File

@@ -28,6 +28,8 @@ class DashboardController extends Controller
//information such as pickup and destination, jumps, and profit margin.
$tempContracts = $contractHelper->GetContracts(98615428);
dd($tempContracts);
foreach($tempContracts as $con) {
$startSystem = $lookupHelper->GetSolarSystemName($con->start_location_id);
$endSystem = $lookupHelper->GetSolarSystemName($con->end_location_id);

View File

@@ -30,10 +30,10 @@
<td>{{ $contract['pickup'] }}</td>
<td>{{ $contract['destination'] }}</td>
<td>{{ $contract['type'] }}</td>
<td>{{ $contract['volume'] }}</td>
<td>{{ number_format($contract['volume'], 2, ",", ".") }}</td>
<td>{{ $contract['expired'] }}</td>
<td>{{ $contract['collateral'] }}</td>
<td>{{ $contract['reward'] }}</td>
<td>{{ number_format($contract['collateral'], 2, ",", ".") }}</td>
<td>{{ number_format($contract['reward'], 2, ",", ".") }}</td>
<td>{{ $contract['availability'] }}</td>
</tr>
@endforeach