mirror of
https://github.com/Karaka-Management/oms-LoanManagement.git
synced 2026-01-11 17:18:41 +00:00
Updated file header
This commit is contained in:
parent
208ae3a315
commit
e2c2f16c32
|
|
@ -1,48 +1,33 @@
|
|||
[
|
||||
{
|
||||
"id": 1007101001,
|
||||
"id": 1008301001,
|
||||
"pid": "/",
|
||||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Investment",
|
||||
"uri": "{/prefix}finance/investment/dashboard?{?}",
|
||||
"name": "Loan",
|
||||
"uri": "{/base}finance/loan/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
"from": "InvestmentManagement",
|
||||
"from": "LoanManagement",
|
||||
"permission": { "permission": 2, "type": null, "element": null },
|
||||
"parent": 1008101001,
|
||||
"children": [
|
||||
{
|
||||
"id": 1007102001,
|
||||
"pid": "/finance/investment",
|
||||
"id": 1008302001,
|
||||
"pid": "/finance/loan",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Dashboard",
|
||||
"uri": "{/prefix}finance/investment/dashboard?{?}",
|
||||
"name": "List",
|
||||
"uri": "{/base}finance/loan/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
"from": "InvestmentManagement",
|
||||
"from": "LoanManagement",
|
||||
"permission": { "permission": 2, "type": null, "element": null },
|
||||
"parent": 1007101001,
|
||||
"parent": 1008301001,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 1007103001,
|
||||
"pid": "/",
|
||||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "PurchaseInquiries",
|
||||
"uri": "{/base}/private/investment?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 10,
|
||||
"from": "InvestmentManagement",
|
||||
"permission": { "permission": 2, "category": null, "element": null },
|
||||
"parent": 1003401001,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin\Install
|
||||
* @package Modules\LoanManagement\Admin\Install
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,14 +12,14 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Admin\Install;
|
||||
namespace Modules\LoanManagement\Admin\Install;
|
||||
|
||||
use phpOMS\Application\ApplicationAbstract;
|
||||
|
||||
/**
|
||||
* Navigation class.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin\Install
|
||||
* @package Modules\LoanManagement\Admin\Install
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"investmgmt_investment": {
|
||||
"loanmgmt_loan": {
|
||||
"name": "investmgmt_investment",
|
||||
"fields": {
|
||||
"investmgmt_investment_id": {
|
||||
|
|
@ -35,58 +35,5 @@
|
|||
"foreignKey": "unit_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"investmgmt_investment_option": {
|
||||
"name": "investmgmt_investment_option",
|
||||
"fields": {
|
||||
"investmgmt_investment_option_id": {
|
||||
"name": "investmgmt_investment_option_id",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"primary": true,
|
||||
"autoincrement": true
|
||||
},
|
||||
"investmgmt_investment_option_description": {
|
||||
"name": "investmgmt_investment_option_description",
|
||||
"type": "TEXT",
|
||||
"null": false
|
||||
},
|
||||
"investmgmt_investment_option_price": {
|
||||
"name": "investmgmt_investment_option_price",
|
||||
"type": "BIGINT",
|
||||
"null": false
|
||||
},
|
||||
"investmgmt_investment_option_investment": {
|
||||
"name": "investmgmt_investment_option_investment",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "investmgmt_investment",
|
||||
"foreignKey": "investmgmt_investment_id"
|
||||
},
|
||||
"investmgmt_investment_option_supplier": {
|
||||
"name": "investmgmt_investment_option_supplier",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "suppliermgmt_supplier",
|
||||
"foreignKey": "suppliermgmt_supplier_id"
|
||||
},
|
||||
"investmgmt_investment_option_supplier_alt": {
|
||||
"name": "investmgmt_investment_option_supplier_alt",
|
||||
"type": "VARCHAR(255)",
|
||||
"null": false
|
||||
},
|
||||
"investmgmt_investment_option_item": {
|
||||
"name": "investmgmt_investment_option_item",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "itemmgmt_item",
|
||||
"foreignKey": "itemmgmt_item_id"
|
||||
},
|
||||
"investmgmt_investment_option_item_alt": {
|
||||
"name": "investmgmt_investment_option_item_alt",
|
||||
"type": "VARCHAR(255)",
|
||||
"null": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin
|
||||
* @package Modules\LoanManagement\Admin
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,14 +12,14 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Admin;
|
||||
namespace Modules\LoanManagement\Admin;
|
||||
|
||||
use phpOMS\Module\InstallerAbstract;
|
||||
|
||||
/**
|
||||
* Installer class.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin
|
||||
* @package Modules\LoanManagement\Admin
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -1,19 +1,41 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
use Modules\InvestmentManagement\Controller\BackendController;
|
||||
use Modules\InvestmentManagement\Models\PermissionCategory;
|
||||
use Modules\LoanManagement\Controller\BackendController;
|
||||
use Modules\LoanManagement\Models\PermissionCategory;
|
||||
use phpOMS\Account\PermissionType;
|
||||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/controlling/investment/dashboard.*$' => [
|
||||
'^.*/controlling/loan/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\InvestmentManagement\Controller\BackendController:viewInvestmentDashboard',
|
||||
'dest' => '\Modules\LoanManagement\Controller\BackendController:viewLoanList',
|
||||
'verb' => RouteVerb::GET,
|
||||
'permission' => [
|
||||
'module' => BackendController::MODULE_NAME,
|
||||
'type' => PermissionType::READ,
|
||||
'state' => PermissionCategory::INVESTMENT,
|
||||
'state' => PermissionCategory::LOAN,
|
||||
],
|
||||
],
|
||||
],
|
||||
'^.*/controlling/loan/single.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\LoanManagement\Controller\BackendController:viewLoanSingle',
|
||||
'verb' => RouteVerb::GET,
|
||||
'permission' => [
|
||||
'module' => BackendController::MODULE_NAME,
|
||||
'type' => PermissionType::READ,
|
||||
'state' => PermissionCategory::LOAN,
|
||||
],
|
||||
],
|
||||
],
|
||||
'^.*/controlling/loan/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\LoanManagement\Controller\BackendController:viewLoanCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
'permission' => [
|
||||
'module' => BackendController::MODULE_NAME,
|
||||
'type' => PermissionType::READ,
|
||||
'state' => PermissionCategory::LOAN,
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin
|
||||
* @package Modules\LoanManagement\Admin
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,14 +12,14 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Admin;
|
||||
namespace Modules\LoanManagement\Admin;
|
||||
|
||||
use phpOMS\Module\StatusAbstract;
|
||||
|
||||
/**
|
||||
* Status class.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin
|
||||
* @package Modules\LoanManagement\Admin
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin
|
||||
* @package Modules\LoanManagement\Admin
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,14 +12,14 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Admin;
|
||||
namespace Modules\LoanManagement\Admin;
|
||||
|
||||
use phpOMS\Module\UninstallerAbstract;
|
||||
|
||||
/**
|
||||
* Uninstaller class.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin
|
||||
* @package Modules\LoanManagement\Admin
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin
|
||||
* @package Modules\LoanManagement\Admin
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,14 +12,14 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Admin;
|
||||
namespace Modules\LoanManagement\Admin;
|
||||
|
||||
use phpOMS\Module\UpdaterAbstract;
|
||||
|
||||
/**
|
||||
* Updater class.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Admin
|
||||
* @package Modules\LoanManagement\Admin
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement
|
||||
* @package Modules\LoanManagement
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Controller;
|
||||
namespace Modules\LoanManagement\Controller;
|
||||
|
||||
use phpOMS\Contract\RenderableInterface;
|
||||
use phpOMS\Message\RequestAbstract;
|
||||
|
|
@ -20,9 +20,9 @@ use phpOMS\Message\ResponseAbstract;
|
|||
use phpOMS\Views\View;
|
||||
|
||||
/**
|
||||
* Investmenting controller class.
|
||||
* Loaning controller class.
|
||||
*
|
||||
* @package Modules\InvestmentManagement
|
||||
* @package Modules\LoanManagement
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
@ -41,10 +41,10 @@ final class BackendController extends Controller
|
|||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function viewInvestmentDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||
public function viewLoanList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||
{
|
||||
$view = new View($this->app->l11nManager, $request, $response);
|
||||
$view->setTemplate('/Modules/InvestmentManagement/Theme/Backend/investment-dashboard');
|
||||
$view->setTemplate('/Modules/LoanManagement/Theme/Backend/loan-list');
|
||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1004601001, $request, $response);
|
||||
|
||||
return $view;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement
|
||||
* @package Modules\LoanManagement
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,15 +12,15 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Controller;
|
||||
namespace Modules\LoanManagement\Controller;
|
||||
|
||||
use phpOMS\Module\ModuleAbstract;
|
||||
use phpOMS\Module\WebInterface;
|
||||
|
||||
/**
|
||||
* Investmenting controller class.
|
||||
* Loan controller class.
|
||||
*
|
||||
* @package Modules\InvestmentManagement
|
||||
* @package Modules\LoanManagement
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
@ -49,7 +49,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_NAME = 'InvestmentManagement';
|
||||
public const MODULE_NAME = 'LoanManagement';
|
||||
|
||||
/**
|
||||
* Module id.
|
||||
|
|
@ -57,7 +57,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_ID = 1007100000;
|
||||
public const MODULE_ID = 1008300000;
|
||||
|
||||
/**
|
||||
* Providing.
|
||||
|
|
|
|||
|
|
@ -1,46 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Models;
|
||||
|
||||
use Modules\Admin\Models\Account;
|
||||
use phpOMS\Business\Finance\DepreciationType;
|
||||
|
||||
/**
|
||||
* Investment model.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class Investment
|
||||
{
|
||||
public int $id = 0;
|
||||
|
||||
public string $name = '';
|
||||
|
||||
public int $depreciationType = DepreciationType::STAIGHT_LINE;
|
||||
|
||||
public array $objects = [];
|
||||
|
||||
/**
|
||||
* Income
|
||||
*/
|
||||
public array $ammortization = [];
|
||||
|
||||
public Account $createdBy;
|
||||
|
||||
public array $attributeTypes = [];
|
||||
}
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Models;
|
||||
|
||||
/**
|
||||
* Investment object.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class InvestmentObject
|
||||
{
|
||||
public int $id = 0;
|
||||
|
||||
public string $productName = '';
|
||||
|
||||
public string $description = '';
|
||||
|
||||
public int $supplier = 0;
|
||||
|
||||
public string $supplierName = '';
|
||||
|
||||
public string $productLink = '';
|
||||
|
||||
/**
|
||||
* Costs / Revenue
|
||||
*/
|
||||
public array $money = [];
|
||||
|
||||
public bool $approved = false;
|
||||
|
||||
public array $attributes = [];
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @package Modules\LoanmentManagement\Models
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,19 +12,19 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Models;
|
||||
namespace Modules\LoanmentManagement\Models;
|
||||
|
||||
use phpOMS\Stdlib\Base\Enum;
|
||||
|
||||
/**
|
||||
* Investment status enum.
|
||||
* Loanment status enum.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @package Modules\LoanmentManagement\Models
|
||||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*/
|
||||
abstract class InvestmentStatus extends Enum
|
||||
abstract class LoanStatus extends Enum
|
||||
{
|
||||
public const DRAFT = 1;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,45 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Models;
|
||||
|
||||
use phpOMS\Business\Finance\DepreciationType;
|
||||
use phpOMS\Stdlib\Base\FloatInt;
|
||||
|
||||
/**
|
||||
* Costs/Earnings.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class Money
|
||||
{
|
||||
public int $id = 0;
|
||||
|
||||
public string $name = '';
|
||||
|
||||
public int $depreciationType = DepreciationType::STAIGHT_LINE;
|
||||
|
||||
public int $depreciationDuration = 0;
|
||||
|
||||
public FloatInt $amount;
|
||||
|
||||
public FloatInt $residualValue;
|
||||
|
||||
public MoneyType $moneyType;
|
||||
|
||||
public bool $recurring = false;
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Models;
|
||||
|
||||
use phpOMS\Localization\BaseStringL11n;
|
||||
|
||||
/**
|
||||
* Money type (one off cost, recurring, earnings).
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class MoneyType
|
||||
{
|
||||
public int $id = 0;
|
||||
|
||||
public string $name = '';
|
||||
|
||||
public BaseStringL11n $content;
|
||||
|
||||
public bool $cost = true;
|
||||
|
||||
public bool $recurring = false;
|
||||
}
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @package Modules\LoanManagement\Models
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,19 +12,19 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\InvestmentManagement\Models;
|
||||
namespace Modules\LoanManagement\Models;
|
||||
|
||||
use phpOMS\Stdlib\Base\Enum;
|
||||
|
||||
/**
|
||||
* Permision state enum.
|
||||
*
|
||||
* @package Modules\InvestmentManagement\Models
|
||||
* @package Modules\LoanManagement\Models
|
||||
* @license OMS License 2.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*/
|
||||
abstract class PermissionCategory extends Enum
|
||||
{
|
||||
public const INVESTMENT = 1;
|
||||
public const LOAN = 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
|
|
@ -13,6 +13,6 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Dashboard' => 'Dashboard',
|
||||
'Investment' => 'Investment',
|
||||
'List' => 'List',
|
||||
'Loan' => 'Loan',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\InvestmentManagement
|
||||
* @package Modules\LoanManagement
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,5 +12,5 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['InvestmentManagement' => [
|
||||
return ['LoanManagement' => [
|
||||
]];
|
||||
|
|
|
|||
4
Theme/Backend/investment-dashboard.tpl.php → Theme/Backend/loan-list.tpl.php
Executable file → Normal file
4
Theme/Backend/investment-dashboard.tpl.php → Theme/Backend/loan-list.tpl.php
Executable file → Normal file
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\HumanResourceTimeRecording
|
||||
* @package Modules\LoanManagement
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
18
info.json
18
info.json
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": {
|
||||
"id": 1007100000,
|
||||
"internal": "InvestmentManagement",
|
||||
"external": "Investment Management"
|
||||
"id": 1008300000,
|
||||
"internal": "LoanManagement",
|
||||
"external": "Loan Management"
|
||||
},
|
||||
"category": "Finance",
|
||||
"version": "1.0.0",
|
||||
|
|
@ -14,8 +14,8 @@
|
|||
"name": "Jingga",
|
||||
"website": "jingga.app"
|
||||
},
|
||||
"description": "Investment Management module.",
|
||||
"directory": "InvestmentManagement",
|
||||
"description": "Loan Management module.",
|
||||
"directory": "LoanManagement",
|
||||
"dependencies": {
|
||||
"Finance": "*",
|
||||
"SupplierManagement": "*"
|
||||
|
|
@ -26,19 +26,19 @@
|
|||
"load": [
|
||||
{
|
||||
"pid": [
|
||||
"/finance/investment"
|
||||
"/finance/loan"
|
||||
],
|
||||
"type": 4,
|
||||
"for": 0,
|
||||
"from": "InvestmentManagement",
|
||||
"file": "InvestmentManagement"
|
||||
"from": "LoanManagement",
|
||||
"file": "LoanManagement"
|
||||
},
|
||||
{
|
||||
"pid": [
|
||||
"/"
|
||||
],
|
||||
"type": 5,
|
||||
"from": "InvestmentManagement",
|
||||
"from": "LoanManagement",
|
||||
"for": "Navigation",
|
||||
"file": "Navigation"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user