adrema/modules/Invoice/InvoiceServiceProvider.php

32 lines
650 B
PHP
Raw Permalink Normal View History

2024-10-14 21:21:19 +02:00
<?php
namespace Modules\Invoice;
use Illuminate\Routing\Router;
use Illuminate\Support\ServiceProvider;
use Modules\Invoice\Components\SettingView as ComponentsSettingView;
class InvoiceServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
app(Router::class)->middleware(['web', 'auth:web'])->group(function ($router) {
$router->get('/setting/bill', ComponentsSettingView::class)->name('setting.bill');
});
}
}