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