removed test route

This commit is contained in:
Godfrey M 2024-10-16 16:47:36 -07:00
parent a7754c1a7f
commit ed6034065b

View file

@ -57,27 +57,6 @@ Route::group(['middleware' => 'auth'], function () {
/*
* Locations
*/
Route::get('/test-email', function() {
$item = LicenseSeat::find(1); // Load some test data
$admin = User::find(1);
$target = User::find(2);
$acceptance = null; // Simulate acceptance data
$note = 'Test note';
$fields = [];
if (($item->model) && ($item->model->fieldset)) {
$fields = $item->model->fieldset->fields;
}
return new \App\Mail\CheckoutLicenseMail(
$item,
$admin,
$target,
$acceptance,
$note);
});
Route::group(['prefix' => 'locations', 'middleware' => ['auth']], function () {
Route::post(