mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-01-17 09:58:42 +00:00
32 lines
788 B
PHP
32 lines
788 B
PHP
<?php
|
|
/**
|
|
* Karaka
|
|
*
|
|
* PHP Version 8.1
|
|
*
|
|
* @package Modules
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
use Modules\Billing\Controller\BackendController;
|
|
use Modules\Billing\Models\PermissionCategory;
|
|
use phpOMS\Account\PermissionType;
|
|
use phpOMS\Router\RouteVerb;
|
|
|
|
return [
|
|
'^.*/bill/render.*$' => [
|
|
[
|
|
'dest' => '\Modules\Billing\Controller\ApiController:apiPreviewRender',
|
|
'verb' => RouteVerb::GET,
|
|
'permission' => [
|
|
'module' => BackendController::NAME,
|
|
'type' => PermissionType::CREATE,
|
|
'state' => PermissionCategory::SALES_INVOICE,
|
|
],
|
|
],
|
|
],
|
|
]; |