2021-07-15 21:17:48 +02:00
|
|
|
<?php
|
2020-04-10 20:32:12 +02:00
|
|
|
|
2021-07-15 21:17:48 +02:00
|
|
|
use App\Http\Controllers\HomeController;
|
|
|
|
use App\Initialize\InitializeController;
|
|
|
|
use App\Member\MemberConfirmController;
|
2020-06-02 23:45:25 +02:00
|
|
|
use App\Member\MemberController;
|
2021-07-04 22:32:40 +02:00
|
|
|
use App\Payment\AllpaymentController;
|
2021-07-15 21:17:48 +02:00
|
|
|
use App\Payment\PaymentController;
|
2021-07-04 01:44:41 +02:00
|
|
|
use App\Payment\SubscriptionController;
|
2021-07-15 21:17:48 +02:00
|
|
|
use App\Pdf\MemberPdfController;
|
2020-04-12 00:26:44 +02:00
|
|
|
|
|
|
|
Route::group(['namespace' => 'App\\Http\\Controllers'], function() {
|
|
|
|
Auth::routes(['register' => false]);
|
|
|
|
});
|
2020-04-10 20:32:12 +02:00
|
|
|
|
|
|
|
Route::group(['middleware' => 'auth:web'], function () {
|
2020-04-12 00:26:44 +02:00
|
|
|
Route::get('/', HomeController::class)->name('home');
|
2020-06-02 22:43:40 +02:00
|
|
|
Route::resource('initialize', InitializeController::class);
|
2020-06-02 23:45:25 +02:00
|
|
|
Route::resource('member', MemberController::class);
|
2021-07-04 16:56:07 +02:00
|
|
|
Route::resource('member.payment', PaymentController::class);
|
2021-07-04 22:32:40 +02:00
|
|
|
Route::resource('allpayment', AllpaymentController::class);
|
2021-07-04 01:44:41 +02:00
|
|
|
Route::resource('subscription', SubscriptionController::class);
|
2021-06-28 22:09:41 +02:00
|
|
|
Route::post('/member/{member}/confirm', MemberConfirmController::class);
|
2021-07-16 00:12:19 +02:00
|
|
|
Route::get('/member/{member}/pdf', MemberPdfController::class)
|
|
|
|
->name('member.singlepdf');
|
2020-04-10 20:32:12 +02:00
|
|
|
});
|
|
|
|
|