refactor(whatsapp): hide fitur integrasi whatsapp karena belum dibutuhkan
This commit is contained in:
parent
dd70c72c92
commit
c984206d94
@ -203,13 +203,13 @@ public function boot(): void
|
|||||||
'match' => 'studio.setting.application',
|
'match' => 'studio.setting.application',
|
||||||
'can' => 'view application settings',
|
'can' => 'view application settings',
|
||||||
],
|
],
|
||||||
[
|
// [
|
||||||
'label' => 'Whatsapp',
|
// 'label' => 'Whatsapp',
|
||||||
'icon' => 'chat-bubble-oval-left-ellipsis',
|
// 'icon' => 'chat-bubble-oval-left-ellipsis',
|
||||||
'route' => 'studio.setting.whatsapp',
|
// 'route' => 'studio.setting.whatsapp',
|
||||||
'match' => 'studio.setting.whatsapp',
|
// 'match' => 'studio.setting.whatsapp',
|
||||||
'can' => 'view whatsapp settings',
|
// 'can' => 'view whatsapp settings',
|
||||||
],
|
// ],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|||||||
@ -135,7 +135,7 @@ public function run(): void
|
|||||||
|
|
||||||
'view application settings',
|
'view application settings',
|
||||||
|
|
||||||
'view whatsapp settings',
|
// 'view whatsapp settings',
|
||||||
|
|
||||||
'view general settings',
|
'view general settings',
|
||||||
'update general settings',
|
'update general settings',
|
||||||
@ -254,7 +254,7 @@ public function run(): void
|
|||||||
|
|
||||||
'view application settings',
|
'view application settings',
|
||||||
|
|
||||||
'view whatsapp settings',
|
// 'view whatsapp settings',
|
||||||
|
|
||||||
'view general settings',
|
'view general settings',
|
||||||
'update general settings',
|
'update general settings',
|
||||||
@ -365,7 +365,7 @@ public function run(): void
|
|||||||
|
|
||||||
'view application settings',
|
'view application settings',
|
||||||
|
|
||||||
'view whatsapp settings',
|
// 'view whatsapp settings',
|
||||||
|
|
||||||
'view general settings',
|
'view general settings',
|
||||||
'update general settings',
|
'update general settings',
|
||||||
|
|||||||
@ -191,7 +191,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
Route::get('/settings/applications', ApplicationComponent::class)->name('studio.setting.application')->middleware('can:view application settings');
|
Route::get('/settings/applications', ApplicationComponent::class)->name('studio.setting.application')->middleware('can:view application settings');
|
||||||
Route::get('/settings/whatsapp', WhatsappComponent::class)->name('studio.setting.whatsapp')->middleware('can:view whatsapp settings');
|
// Route::get('/settings/whatsapp', WhatsappComponent::class)->name('studio.setting.whatsapp')->middleware('can:view whatsapp settings');
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('/price-request/{priceRequest}/approve', [PriceRequestController::class, 'approve'])
|
Route::get('/price-request/{priceRequest}/approve', [PriceRequestController::class, 'approve'])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user