moon displays
This commit is contained in:
@@ -89,15 +89,15 @@ class MiningTaxesController extends Controller
|
|||||||
|
|
||||||
$systems = AllianceMoon::where([
|
$systems = AllianceMoon::where([
|
||||||
'rented' => 'No',
|
'rented' => 'No',
|
||||||
])->where(['moon_type', '!=', 'R32'])
|
])->where('moon_type', '!=', 'R32')
|
||||||
->orWhere(['moon_type', '!=', 'R64'])
|
->orWhere('moon_type', '!=', 'R64')
|
||||||
->pluck('system_name')->unique()->toArray();
|
->pluck('system_name')->unique()->toArray();
|
||||||
|
|
||||||
//Get all of the moons which are not rented
|
//Get all of the moons which are not rented
|
||||||
$allyMoons = AllianceMoon::where([
|
$allyMoons = AllianceMoon::where([
|
||||||
'rented' => 'No',
|
'rented' => 'No',
|
||||||
])->where(['moon_type', '!=', 'R32'])
|
])->where('moon_type', '!=', 'R32')
|
||||||
->orWhere(['moon_type', '!=', 'R64'])
|
->orWhere('moon_type', '!=', 'R64')
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
foreach($allyMoons as $moon) {
|
foreach($allyMoons as $moon) {
|
||||||
|
|||||||
Reference in New Issue
Block a user