group(function () { Route::get('/', [OfferapplicationsController::class, 'index'])->name('offerapplications.index'); Route::get('/issued', [OfferapplicationsController::class, 'index'])->name('offerapplications.issued'); Route::get('/create', [OfferapplicationsController::class, 'create'])->name('offerapplications.create'); Route::post('/store', [OfferapplicationsController::class, 'store'])->name('offerapplications.store'); Route::post('/sort', [OfferapplicationsController::class, 'sort'])->name('offerapplications.sort'); Route::post('/updatealias', [OfferapplicationsController::class, 'updatealias'])->name('offerapplications.updatealias'); Route::get('/show/{id}', [OfferapplicationsController::class, 'show'])->name('offerapplications.show'); Route::get('/edit/{id}', [OfferapplicationsController::class, 'edit'])->name('offerapplications.edit'); Route::post('/update/{id}', [OfferapplicationsController::class, 'update'])->name('offerapplications.update'); Route::get('/destroy/{id}', [OfferapplicationsController::class, 'destroy'])->name('offerapplications.destroy'); Route::get('/toggle/{id}', [OfferapplicationsController::class, 'toggle'])->name('offerapplications.toggle'); Route::get('/clone/{id}', [OfferapplicationsController::class, 'clone'])->name('offerapplications.clone'); Route::get('/payment/{id}', [OfferapplicationsController::class, 'updatepayment'])->name('offerapplications.updatepayment'); Route::post('/paymentreceived/{id}', [OfferapplicationsController::class, 'updatepaymentreceived'])->name('offerapplications.updatepaymentreceived'); Route::get('/offer/{id}', [OfferapplicationsController::class, 'updateoffer'])->name('offerapplications.updateoffer'); Route::match(['post','put'],'/offer/update/{id}', [OfferapplicationsController::class, 'storeoffer'])->name('offerapplications.storeoffer'); });