chess/routes/web.php

247 lines
8.9 KiB
PHP
Raw Normal View History

2024-08-29 03:56:32 +00:00
<?php
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
// Begin::Route Android
Route::get('/faqdigibro', function() {
return view('view_public.faq_digibro');
});
Route::get('/faqdigibroen', function() {
return view('view_public.faq_digibro_en');
});
Route::get('/faqlakupandai', function() {
return view('view_public.faq_lakupandai');
});
Route::get('/faqlakupandaien', function() {
return view('view_public.faq_lakupandai_en');
});
Route::get('/faqoa', function() {
return view('view_public.faq_oa');
});
Route::get('/faqoaen', function() {
return view('view_public.faq_oa_en');
});
Route::get('/faqmb', function() {
return view('view_public.faq_mb');
});
Route::get('/faqmben', function() {
return view('view_public.faq_mb_en');
});
Route::get('/faqosc', function() {
return view('view_public.faq_osc');
});
Route::get('/policyprivacyoa', function() {
return view('view_public.policy_privacy_oa');
});
Route::get('/policyprivacyoaen', function() {
return view('view_public.policy_privacy_oa_en');
});
Route::get('/termdigibro', function() {
return view('view_public.term_and_cond_digibro');
});
Route::get('/termdigibroen', function() {
return view('view_public.term_and_cond_digibro_en');
});
Route::get('/syaratmbanking', function() {
return view('view_public.syarat_ket_mbanking');
});
Route::get('/syaratosc', function() {
return view('view_public.syarat_ket_osc');
});
Route::get('/syaratmbankingen', function() {
return view('view_public.syarat_ket_mbanking_en');
});
Route::get('/policyprivacymb', function() {
return view('view_public.policy_privacy_mb');
});
Route::get('/policyprivacymben', function() {
return view('view_public.policy_privacy_mb_en');
});
Route::get('/termsmbanking', function() {
return view('view_public.syarat_ket_mbanking');
});
Route::get('/termsmbankingen', function() {
return view('view_public.syarat_ket_mbanking_en');
});
// End::Route Android
// Begin::Route IOS
Route::get('faqdigibro_ios', function() {
return view('view_public_ios.faq_digibro_ios');
});
Route::get('faqdigibroen_ios', function() {
return view('view_public_ios.faq_digibro_en_ios');
});
Route::get('faqlakupandai_ios', function() {
return view('view_public_ios.faq_lakupandai_ios');
});
Route::get('faqlakupandaien_ios', function() {
return view('view_public_ios.faq_lakupandai_en_ios');
});
Route::get('faqoa_ios', function() {
return view('view_public_ios.faq_oa_ios');
});
Route::get('faqoaen_ios', function() {
return view('view_public_ios.faq_oa_en_ios');
});
Route::get('faqmb_ios', function() {
return view('view_public_ios.faq_mb_ios');
});
Route::get('faqmben_ios', function() {
return view('view_public_ios.faq_mb_en_ios');
});
Route::get('policyprivacyoa_ios', function() {
return view('view_public_ios.policy_privacy_oa_ios');
});
Route::get('policyprivacyoaen_ios', function() {
return view('view_public_ios.policy_privacy_oa_en_ios');
});
Route::get('termdigibro_ios', function() {
return view('view_public_ios.term_and_cond_digibro_ios');
});
Route::get('termdigibroen_ios', function() {
return view('view_public_ios.term_and_cond_digibro_en_ios');
});
Route::get('syaratmbanking_ios', function() {
return view('view_public_ios.syarat_ket_mbanking_ios');
});
Route::get('syaratmbankingen_ios', function() {
return view('view_public_ios.syarat_ket_mbanking_en_ios');
});
Route::get('policyprivacymb_ios', function() {
return view('view_public_ios.policy_privacy_mb_ios');
});
Route::get('policyprivacymben_ios', function() {
return view('view_public_ios.policy_privacy_mb_en_ios');
});
Route::get('termsmbanking_ios', function() {
return view('view_public_ios.syarat_ket_mbanking_ios');
});
Route::get('termsmbankingen_ios', function() {
return view('view_public_ios.syarat_ket_mbanking_en_ios');
});
// End::Route IOS
Auth::routes();
Route::post('/act_login', 'Controller@login')->middleware('guest');
Route::middleware(['auth','revalidate'])->group(function () {
Route::get('/', 'HomeController@index')->name('home');
Route::get('/home', 'HomeController@index')->name('home');
Route::get('/projects', 'HomeController@projects')->name('projects');
Route::get('/myProjects', 'HomeController@myProjects')->name('myProjects');
Route::get('/detailProjects', 'HomeController@detailProjects')->name('detailProjects');
Route::get('/listProjectSaya', 'HomeController@listProjectSaya')->name('listProjectSaya');
Route::get('/tambahProject', 'HomeController@tambahProject')->name('tambahProject');
Route::get('/budgeting_project/{id}', 'HomeController@budgeting_project')->name('budgeting_project');
Route::get('/mng_meeting/{id}', 'HomeController@mng_meeting')->name('mng_meeting');
Route::post('/projects/act_any/{any}', 'HomeController@act_projects')->name('act_projects');
Route::post('/projects/get_any/{any}', 'HomeController@act_get_projects')->name('act_get_projects');
Route::post('/projects/back_date', 'HomeController@back_date')->name('back_date');
Route::get('/projects/dataTable', 'HomeController@dataTable')->name('projects.dataTable');
Route::get('/kanbanProject/{id}', 'HomeController@kanbanProject')->name('kanbanProject');
Route::get('/mngTeam', 'OthersController@mngTeam')->name('mngTeam');
Route::get('/others/data', 'OthersController@data')->name('others.data');
Route::get('/others/dataTable', 'OthersController@dataTable')->name('others.dataTable');
Route::get('/projects/data', 'HomeController@data_projects')->name('projects.data');
Route::get('/changeYearsStatistik', 'HomeController@changeYearsStatistik')->name('changeYearsStatistik');
Route::get('/inboxMeeting', 'HomeController@inboxMeeting')->name('inboxMeeting');
Route::get('/inboxMeeting/data', 'HomeController@inboxMeetingData')->name('inboxMeetingData');
Route::get('/laporanProject', 'HomeController@laporanProject')->name('laporanProject');
Route::get('cetakDok', 'HomeController@cetakDok')->name('cetakDok');
Route::get('helpdesk', 'HomeController@helpdesk')->name('helpdesk');
Route::get('helpdesk_data', 'HomeController@helpdesk_data')->name('helpdesk_data');
Route::get('detail_helpdesk/{id}', 'HomeController@detail_helpdesk')->name('detail_helpdesk');
Route::post('get_dokumen', 'HomeController@get_dokumen')->name('get_dokumen');
Route::get('approve_helpdesk', 'HomeController@approve_helpdesk')->name('approve_helpdesk');
Route::get('detail_approve_helpdesk/{id}', 'HomeController@detail_approve_helpdesk')->name('detail_approve_helpdesk');
Route::get('approve_css', 'HomeController@approve_css')->name('approve_css');
Route::get('detail_approve_css/{id}', 'HomeController@detail_approve_css')->name('detail_approve_css');
Route::get('/user', 'OthersController@user')->name('user');
Route::post('/user/store', 'OthersController@user_store')->name('user_store');
Route::post('/user/get/{id}', 'OthersController@user_get')->name('user_get');
Route::post('/user/delete', 'OthersController@user_delete')->name('user_delete');
Route::post('/user/reset', 'OthersController@user_reset')->name('user_reset');
Route::post('/user/change', 'OthersController@user_change')->name('user_change');
Route::post('/user/change_pp', 'OthersController@user_change_pp')->name('user_change_pp');
Route::get('/company', 'OthersController@company')->name('company');
Route::post('/company/store', 'OthersController@company_store')->name('company_store');
Route::post('/company/get/{id}', 'OthersController@company_get')->name('company_get');
Route::get('/client', 'OthersController@client')->name('client');
Route::post('/client/store', 'OthersController@client_store')->name('client_store');
Route::post('/client/get/{id}', 'OthersController@client_get')->name('client_get');
Route::prefix('ref')->group(function () {
Route::get('index', 'RefController@index')->name('ref.index');
Route::get('data', 'RefController@data')->name('ref.data');
Route::post('edit', 'RefController@edit')->name('ref.edit');
Route::post('store', 'RefController@store')->name('ref.store');
Route::post('store/custom', 'RefController@storeCustom')->name('ref.storeCustom');
Route::post('delete', 'RefController@delete')->name('ref.delete');
});
// MENU
Route::get('menu/{id}/index', 'MenuController@admin_index')->name('menu.index');
Route::post('menu/{id}/store', 'MenuController@admin_store')->name('menu.store');
Route::post('menu/{id}/menu_get', 'MenuController@admin_menu_get')->name('menu.menu_get');
Route::get('data/menu/{id}', 'MenuController@admin_data')->name('data.menu');
});