moon rentals again

This commit is contained in:
2021-05-30 16:19:12 +09:00
parent c3becc324b
commit 751a412185
15 changed files with 408 additions and 42 deletions

View File

@@ -33,6 +33,27 @@ class MiningTaxesAdminController extends Controller
$this->middleware('role:Admin');
}
/**
* Display the page to setup the form for corporations to rent a moon
*/
public function DisplayMoonRentalForm() {
}
/**
* Store the details for the form for corporations renting a specific moon
*/
public function StoreMoonRentalForm() {
}
/**
* Remove a moon from being rented from a specific corporation
*/
public function DeleteMoonRental(Request $request) {
}
/**
* Display current unpaid invoices
*/

View File

@@ -40,6 +40,11 @@ class MiningTaxesController extends Controller
$this->middleware('role:User');
}
/**
* Display an invoice based on it's id
*
* @var $invoiceId
*/
public function DisplayInvoice($invoiceId) {
$ores = array();
$totalPrice = 0.00;

View File

@@ -18,14 +18,11 @@ class MoonRentalController extends Controller
* Display all of the available moons for rental
*/
public function displayMoons() {
$moons = AllianceMoon::where([
'rented' => 'No',
])->get();
}
/**
* Display form to request new moon structure be placed
*/
public function displayNewMoonRequestForm() {
return view('moon.rental.available.display')->with('moons', $moons);
}
/**
@@ -41,4 +38,11 @@ class MoonRentalController extends Controller
public function storeMoonRentalRequest() {
}
/**
* Request a mail job be added to the mail queue to resend mining bill instantly
*/
public function requestMoonRentalBill() {
}
}