File Manager Lite
Dir:
/home/u540325668/domains/sostabazar.in/public_html/routes
Upload
[..]
api.php (570 B)
Edit
Rename
Del
web.php (16.7 KB)
Edit
Rename
Del
Edit: web.php
<?php use App\Http\Controllers\ProfileController; use Illuminate\Support\Facades\Route; use App\Http\Controllers\welcomeController; use App\Http\Controllers\Admin\InternalAuditController; use App\Http\Controllers\Admin\CustomerController; use App\Http\Controllers\Admin\ParaTeacherController; use App\Http\Controllers\Admin\PhonepeController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider and all of them will | be assigned to the "web" middleware group. Make something great! | */ Route::get('/foo', function() { Artisan::call('make:model Customer -m'); // Do whatever you want either a print a message or exit }); Route::get('/migrate', function() { Artisan::call( 'migrate --path=database/migrations/2023_10_25_123216_create_customers_table.php'); // Do whatever you want either a print a message or exit }); Route::get('/controller', function() { Artisan::call( 'make:controller Admin/ParaTeacherController --resource'); // Do whatever you want either a print a message or exit }); Route::get('/image', function() { Artisan::call( 'storage:link'); // Do whatever you want either a print a message or exit }); Route::get('/cache', function() { Artisan::call( 'config:cache'); // Do whatever you want either a print a message or exit }); Route::get('/clear', function() { Artisan::call( 'config:clear'); // Do whatever you want either a print a message or exit }); Route::get('/dump', function() { Artisan::call( 'dump-autoload -o'); // Do whatever you want either a print a message or exit }); // Route::get('/parapayslip', [ParaTeacherController::class, 'index'])->name('payslip.index'); Route::redirect( '/parapayslip', '/eyJpdiI6IlEwanNLQkdPeXljclQrYnNQQVdYUHc9PSIsInZhbHVlIjoiQnNZNHV2bExMemdDTFRicndsUklQQT09IiwibWFjIjoiMDkyM2FhMjk5OWY3OGNmMjg2OWM4MWVjOTIyNmVhN2VkYjhiOGQ0NjQ3NzZkODQzYmM2MGQxNzJkZjIwMzI3OSIsInRhZyI6IiJ9' ); Route::get('/eyJpdiI6IlEwanNLQkdPeXljclQrYnNQQVdYUHc9PSIsInZhbHVlIjoiQnNZNHV2bExMemdDTFRicndsUklQQT09IiwibWFjIjoiMDkyM2FhMjk5OWY3OGNmMjg2OWM4MWVjOTIyNmVhN2VkYjhiOGQ0NjQ3NzZkODQzYmM2MGQxNzJkZjIwMzI3OSIsInRhZyI6IiJ9', [ParaTeacherController::class, 'index'])->name('payslip.index'); Route::get('/payslip/employees/{clrc_id}', [ParaTeacherController::class, 'getEmployees']); Route::post('/parapayslip/payment', [ParaTeacherController::class, 'payment'])->name('payslip.payment'); // Route::post('/parapayslip/download', [ParaTeacherController::class, 'downloadPayslip'])->name('payslip.download'); Route::get('/parapayslip/{id}/{month}',[ParaTeacherController::class, 'paySlip'])->name('paySlip'); Route::get('phonePe/donate',[PhonepeController::class,'index'])->name('phonepe.donate'); Route::post('/phonePe/payment', [PhonepeController::class, 'payment'])->name('phonepe.payment'); Route::get('/phonepe/success/{orderId}', [PhonepeController::class, 'success'])->name('phonepe.success'); Route::get('/', [welcomeController::class, 'index'])->name('welcome'); Route::get('/ReturnPolicy.html',[welcomeController::class, 'ReturnPolicy'])->name('ReturnPolicy'); Route::get('/TermandCondition.html',[welcomeController::class, 'TermandCondition'])->name('TermandCondition'); Route::get('/PrivacyPolicy.html',[welcomeController::class, 'PrivacyPolicy'])->name('PrivacyPolicy'); Route::get('/RefundPolicy.html',[welcomeController::class, 'RefundPolicy'])->name('RefundPolicy'); /* Audit */ Route::get('/internalAudit/pdf/{id}',[InternalAuditController::class, 'pdf'])->name('pdf'); Route::get('/internalAudit/receiveAndPayment/{id}',[InternalAuditController::class, 'receiveAndPayment'])->name('receiveAndPayment'); Route::get('/internalAudit/ucStatus/{id}',[InternalAuditController::class, 'ucStatus'])->name('ucStatus'); Route::get('/internalAudit/cashCertificate/{id}',[InternalAuditController::class, 'cashCertificate'])->name('cashCertificate'); /* Audit */ /* statutoryAudit */ Route::get('/statutoryAudit/pdf/{id}',[InternalAuditController::class, 'statutoryAudit'])->name('statutoryAudit'); Route::get('/statutoryAudit/receiveAndPayment/{id}',[InternalAuditController::class, 'statutoryAuditPaymentAndReceive'])->name('statutoryAuditPaymentAndReceive'); Route::get('/statutoryAudit/ucStatus/{id}',[InternalAuditController::class, 'statutoryAuditUcStatus'])->name('statutoryAuditUcStatus'); Route::get('/statutoryAudit/cashCertificate/{id}',[InternalAuditController::class, 'cashCertificate'])->name('cashCertificate'); /* statutoryAudit */ Route::group([ 'as' => 'admin.', 'prefix' => 'admin', 'namespace' => 'App\Http\Controllers\Admin', 'middleware' => ['auth', 'admin']], function() { Route::get('/dashboard', 'DashboardController@index')->name('dashboard'); //ChequeIssueRegister Route::resource('cheque', ChequeissueregisterController::class); //expences Route::resource('expence', expenceController::class); /* Voucher */ Route::get('/voucher/add', 'voucherController@create'); Route::post('/voucher/create', 'voucherController@store'); Route::get('/voucher/manage', 'voucherController@show'); Route::get('/voucher/edit/{id}', 'voucherController@edit'); Route::post('/voucher/update', 'voucherController@update'); Route::get('/voucher/delete/{id}', 'voucherController@destroy'); Route::get('/voucher/pdf/{id}', 'voucherController@pdf'); Route::get('/voucher/tag/{id}', 'voucherController@tag'); Route::get('/voucher/unTag/{id}', 'voucherController@unTag'); Route::post('/voucher/tag/store', 'voucherController@tagStore'); Route::get('/voucher/excel', 'voucherController@excel'); /* Voucher */ /* Schools */ Route::get('/school/add', 'SchoolController@create'); Route::post('/school/create', 'SchoolController@store'); Route::get('/school/manage', 'SchoolController@show'); Route::get('/school/info/{id}', 'SchoolController@info'); Route::get('/school/edit/{id}', 'SchoolController@edit'); Route::get('/school/passd/{id}', 'SchoolController@passd'); Route::post('/school/update', 'SchoolController@update'); Route::get('/school/delete/{id}', 'SchoolController@destroy'); /* Schools */ /* CustomerController */ Route::get('/customer/add', 'CustomerController@create'); Route::post('/customer/create', 'CustomerController@store'); Route::get('/customer/manage', 'CustomerController@show'); Route::get('/customer/info/{id}', 'CustomerController@info'); Route::get('/customer/edit/{id}', 'CustomerController@edit'); Route::get('/customer/passd/{id}', 'CustomerController@passd'); Route::post('/customer/update', 'CustomerController@update'); Route::get('/customer/delete/{id}', 'CustomerController@destroy'); /* CustomerController */ /* schoolUC */ Route::get('/schoolUc/add', 'schoolUcController@create'); Route::post('/schoolUc/create', 'schoolUcController@store'); Route::get('/schoolUc/manage', 'schoolUcController@show'); Route::get('/schoolUc/edit/{id}', 'schoolUcController@edit'); Route::post('/schoolUc/update', 'schoolUcController@update'); Route::get('/schoolUc/delete/{id}', 'schoolUcController@destroy'); Route::get('/schoolUc/pdf/{id}', 'schoolUcController@pdf'); Route::get('/schoolUc/tag/{id}', 'schoolUcController@tag'); Route::get('/schoolUc/unTag/{id}', 'schoolUcController@unTag'); Route::post('/schoolUc/tag/store', 'schoolUcController@tagStore'); Route::get('/schoolUc/excel', 'schoolUcController@excel'); /* schoolUC */ /* Audit */ Route::get('/internalAudit/add', 'InternalAuditController@create'); Route::post('/internalAudit/create', 'InternalAuditController@store'); Route::get('/internalAudit/manage', 'InternalAuditController@show'); Route::get('/internalAudit/edit/{id}', 'InternalAuditController@edit'); Route::post('/internalAudit/update', 'InternalAuditController@update'); Route::get('/internalAudit/delete/{id}', 'InternalAuditController@destroy'); Route::get('/internalAudit/pdf/{id}', 'InternalAuditController@pdf'); Route::get('/internalAudit/receiveAndPayment/{id}', 'InternalAuditController@receiveAndPayment'); Route::get('/internalAudit/tag/{id}', 'InternalAuditController@tag'); Route::get('/internalAudit/unTag/{id}', 'InternalAuditController@unTag'); Route::post('/internalAudit/tag/store', 'InternalAuditController@tagStore'); Route::get('/internalAudit/excel', 'InternalAuditController@excel'); /* Audit */ /* Users */ Route::get('/user/add', 'userController@create'); Route::post('/user/create', 'userController@store'); Route::get('/user/manage', 'userController@show'); Route::get('/user/info/{id}', 'userController@info'); Route::get('/user/edit/{id}', 'userController@edit'); Route::get('/user/passd/{id}', 'userController@passd'); Route::get('/user/password/{id}', 'userController@password'); Route::post('/user/password/update', 'userController@passwordUpdate'); Route::post('/user/update', 'userController@update'); Route::get('/user/delete/{id}', 'userController@destroy'); /* Users */ /* Customers */ Route::get('/customer/add', 'customerController@create'); Route::post('/customer/create', 'customerController@store'); Route::get('/customer/manage', 'customerController@show'); Route::get('/customer/info/{id}', 'customerController@info'); Route::get('/customer/edit/{id}', 'customerController@edit'); Route::get('/customer/passd/{id}', 'customerController@passd'); Route::post('/customer/update', 'customerController@update'); Route::get('/customer/delete/{id}', 'customerController@destroy'); /* Customers */ /* Loan Customers */ Route::get('/loanCustomer/add', 'loanCustomerController@create'); Route::post('/loanCustomer/create', 'loanCustomerController@store'); Route::get('/loanCustomer/manage', 'loanCustomerController@show'); Route::get('/loanCustomer/info/{id}', 'loanCustomerController@info'); Route::get('/loanCustomer/edit/{id}', 'loanCustomerController@edit'); Route::get('/loanCustomer/passd/{id}', 'loanCustomerController@passd'); Route::post('/loanCustomer/update', 'loanCustomerController@update'); Route::get('/loanCustomer/delete/{id}', 'loanCustomerController@destroy'); /* Loan Customers */ /* schemeone */ Route::get('/schemeone/index', 'schemeOneController@index'); Route::post('/schemeone/create', 'schemeOneController@create'); Route::post('/schemeone/store', 'schemeOneController@store'); Route::get('/schemeone/manage', 'schemeOneController@show'); Route::get('/schemeone/edit/{id}', 'schemeOneController@edit'); Route::post('/schemeone/update', 'schemeOneController@update'); Route::get('/schemeone/delete/{id}', 'schemeOneController@destroy'); Route::get('/schemeone/pdf', 'schemeOneController@pdf'); Route::get('/schemeone/excel', 'schemeOneController@excel'); /* schemeone */ /* schemeoneCredit */ Route::get('/schemeonecredit/index', 'schemeOneCreditController@index'); Route::post('/schemeonecredit/create', 'schemeOneCreditController@create'); Route::post('/schemeonecredit/store', 'schemeOneCreditController@store'); Route::get('/schemeonecredit/manage', 'schemeOneCreditController@show'); Route::get('/schemeonecredit/edit/{id}', 'schemeOneCreditController@edit'); Route::post('/schemeonecredit/update', 'schemeOneCreditController@update'); Route::get('/schemeonecredit/delete/{id}', 'schemeOneCreditController@destroy'); Route::get('/schemeonecredit/pdf', 'schemeOneCreditController@pdf'); Route::get('/schemeonecredit/excel', 'schemeOneCreditController@excel'); Route::get('/schemeonecredit/duecredit', 'schemeOneCreditController@dueCredit'); Route::post('/schemeonecredit/duecredit', 'schemeOneCreditController@dueUpdate'); /* schemeoneCredit*/ /* calection*/ Route::get('/calection/oneyou', 'calectionController@oneyou'); Route::post('/calection/oneall', 'calectionController@oneall'); Route::post('/calection/twoyou', 'calectionController@store'); Route::get('/calection/twoall', 'calectionController@show'); Route::get('/calection/userwise', 'calectionController@edit'); Route::post('/calection/oneupdate', 'calectionController@update'); Route::post('/calection/twoupdate', 'calectionController@update'); Route::get('/calection/pdf', 'calectionController@pdf'); Route::get('/calection/excel', 'calectionController@excel'); /* calections*/ /* languages */ Route::get('/language/add', 'languageController@create'); Route::post('/language/create', 'languageController@store'); Route::get('/language/manage', 'languageController@show'); Route::get('/language/edit/{id}', 'languageController@edit'); Route::post('/language/update', 'languageController@update'); Route::get('/language/delete/{id}', 'languageController@destroy'); /* languages */ /* categorys */ Route::get('/category/add', 'categoryController@create'); Route::post('/category/create', 'categoryController@store'); Route::get('/category/manage', 'categoryController@show'); Route::get('/category/edit/{id}', 'categoryController@edit'); Route::post('/category/update', 'categoryController@update'); Route::get('/category/delete/{id}', 'categoryController@destroy'); Route::get('/category/pdf', 'categoryController@pdf'); Route::get('/category/excel', 'categoryController@excel'); /* categorys */ /* subcategorys */ Route::get('/subcategory/add', 'subcategoryController@create'); Route::post('/subcategory/create', 'subcategoryController@store'); Route::get('/subcategory/manage', 'subcategoryController@show'); Route::get('/subcategory/edit/{id}', 'subcategoryController@edit'); Route::post('/subcategory/update', 'subcategoryController@update'); Route::get('/subcategory/delete/{id}', 'subcategoryController@destroy'); /* subcategorys */ /* pages */ Route::get('/page/add', 'pageController@create'); Route::post('/page/create', 'pageController@store'); Route::get('/page/manage', 'pageController@show'); Route::get('/page/edit/{id}', 'pageController@edit'); Route::post('/page/update', 'pageController@update'); Route::get('/page/delete/{id}', 'pageController@destroy'); /* pages */ /* posts */ Route::get('/post/manage', 'postController@show'); Route::get('/post/info/{id}', 'postController@info'); Route::get('/post/edit/{id}', 'postController@edit'); Route::post('/post/update', 'postController@update'); Route::get('/post/delete/{id}', 'postController@destroy'); /* posts */ /* contuctuss */ Route::get('/contuctus/add', 'contuctusController@create'); Route::post('/contuctus/create', 'contuctusController@store'); Route::get('/contuctus/manage', 'contuctusController@show'); Route::get('/contuctus/edit/{id}', 'contuctusController@edit'); Route::post('/contuctus/update', 'contuctusController@update'); Route::get('/contuctus/delete/{id}', 'contuctusController@destroy'); /* contuctuss */ }); Route::group(['as' => 'author.', 'prefix' => 'author', 'namespace' => 'App\Http\Controllers\Author', 'middleware' => ['auth', 'author']], function() { Route::get('dashboard', 'DashboardController@index')->name('dashboard'); /* CustomerController */ Route::get('/customer/add', 'CustomerController@create'); Route::post('/customer/create', 'CustomerController@store'); }); Route::group(['as' => 'manager.', 'prefix' => 'manager', 'namespace' => 'App\Http\Controllers\Manager', 'middleware' => ['auth', 'manager']], function() { Route::get('dashboard', 'DashboardController@index')->name('dashboard'); }); Route::group(['as' => 'operator.', 'prefix' => 'operator', 'namespace' => 'App\Http\Controllers\Operator', 'middleware' => ['auth', 'operator']], function() { Route::get('dashboard', 'DashboardController@index')->name('dashboard'); }); Route::group(['as' => 'user.', 'prefix' => 'user', 'namespace' => 'App\Http\Controllers\User', 'middleware' => ['auth', 'user']], function() { Route::get('dashboard', 'DashboardController@index')->name('dashboard'); /* Update User Profile */ Route::post('/photo/update', 'userController@photoupdate'); Route::post('/update', 'userController@update'); /* Update User Profile */ /* posts */ Route::get('/post/add', 'postController@create'); Route::post('/post/create', 'postController@store'); Route::get('/post/manage', 'postController@show'); Route::get('/post/info/{id}', 'postController@info'); Route::get('/post/edit/{id}', 'postController@edit'); Route::post('/post/update', 'postController@update'); Route::get('/post/delete/{id}', 'postController@destroy'); /* posts */ }); require __DIR__.'/auth.php';
Simpan