moon display
This commit is contained in:
@@ -153,10 +153,10 @@ class MoonsController extends Controller
|
|||||||
|
|
||||||
//Update the current moon's status in the model AllianceMoon
|
//Update the current moon's status in the model AllianceMoon
|
||||||
AllianceMoon::where([
|
AllianceMoon::where([
|
||||||
'region' => $region,
|
'Region' => $region,
|
||||||
'system' => $request->system,
|
'System' => $request->system,
|
||||||
'planet' => $request->planet,
|
'Planet' => $request->planet,
|
||||||
'moon' => $request->moon,
|
'Moon' => $request->moon,
|
||||||
])->update([
|
])->update([
|
||||||
'Available' => 'Request Pending',
|
'Available' => 'Request Pending',
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<th>Third Quantity</th>
|
<th>Third Quantity</th>
|
||||||
<th>Fourth Ore</th>
|
<th>Fourth Ore</th>
|
||||||
<th>Fourth Quantity</th>
|
<th>Fourth Quantity</th>
|
||||||
<th>Available</th>
|
<th>Availability</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($moons as $moon)
|
@foreach($moons as $moon)
|
||||||
@@ -48,11 +48,7 @@
|
|||||||
<td>{{ $moon->ThirdQuantity }}</td>
|
<td>{{ $moon->ThirdQuantity }}</td>
|
||||||
<td>{{ $moon->FourthOre }}</td>
|
<td>{{ $moon->FourthOre }}</td>
|
||||||
<td>{{ $moon->FourthQuantity }}</td>
|
<td>{{ $moon->FourthQuantity }}</td>
|
||||||
@if($moon->Available == 1)
|
<td>{{ $moon->Available }}</td>
|
||||||
<td>Yes</td>
|
|
||||||
@else
|
|
||||||
<td>No</td>
|
|
||||||
@endif
|
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|||||||
Reference in New Issue
Block a user