<?php

use Illuminate\Support\Facades\Route;
use Mtc\Plugins\WeightVerification\Http\Controllers\Admin\WeightVerificationAdminController;
use Mtc\Plugins\WeightVerification\Http\Controllers\WeightVerificationController;

Route::group([
    'prefix' => 'members',
    'middleware' => 'web',
], function () {
    Route::get('weight-verification', [WeightVerificationController::class, 'index'])
        ->name('members-weight-verification');
    Route::post('weight-verification', [WeightVerificationController::class, 'store'])
        ->name('members-weight-verification-store');
});

Route::group([
    'prefix' => 'admin',
    'middleware' => 'auth',
], function () {
    Route::post('weight-verification/request-resubmission', [WeightVerificationAdminController::class, 'requestResubmission'])
        ->name('admin-weight-verification-request-resubmission');
});
