rental moon testing

This commit is contained in:
2020-06-05 02:19:30 -05:00
parent dcaa848b0f
commit 7cc3788f77
2 changed files with 4 additions and 0 deletions

View File

@@ -210,6 +210,9 @@ class MoonsAdminController extends Controller
'paid_until' => null,
'alliance_use_until' => null,
]);
//Once the action is completed, redirect to the original page
return redirect('/moons/admin/display/rentals')->with('success', 'Renter removed from the moon.');
}
/**

View File

@@ -55,6 +55,7 @@ class CreateAllianceMoonRentalsTable extends Migration
])->default('Not Rented');
$table->dateTime('paid_until')->nullable();
$table->dateTime('alliance_use_until')->nullable();
$table->dateTime('next_moon_pull')->nullable();
$table->timestamps();
});
}