mirror of
https://github.com/Karaka-Management/oms-RiskManagement.git
synced 2026-01-11 11:28:41 +00:00
Extend templates
This commit is contained in:
parent
cdcba79e9e
commit
02f2e7c518
|
|
@ -5,7 +5,7 @@
|
|||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "RiskManagement",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/cockpit?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/cockpit?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -15,11 +15,11 @@
|
|||
"children": [
|
||||
{
|
||||
"id": 1003002001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Cockpit",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/cockpit?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/cockpit?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -30,11 +30,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003007001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Units",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/unit/list?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/unit/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
@ -45,11 +45,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003008001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Departments",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/department/list?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/department/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 10,
|
||||
|
|
@ -60,11 +60,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003009001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Categories",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/category/list?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/category/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 15,
|
||||
|
|
@ -75,11 +75,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003010001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Projects",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/project/list?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/project/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 20,
|
||||
|
|
@ -90,11 +90,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003011001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Processes",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/process/list?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/process/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 25,
|
||||
|
|
@ -105,11 +105,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003003001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Risks",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/risk/list?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/risk/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 30,
|
||||
|
|
@ -119,11 +119,11 @@
|
|||
"children": [
|
||||
{
|
||||
"id": 1003003101,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 5,
|
||||
"subtype": 1,
|
||||
"name": "Create",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/risk/create?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/risk/create?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -134,11 +134,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003003201,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 5,
|
||||
"subtype": 1,
|
||||
"name": "Delete",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/risk/delete?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/risk/delete?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -149,11 +149,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003003301,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 0,
|
||||
"subtype": 1,
|
||||
"name": "Risk",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/risk/single/dashboard?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/risk/single/dashboard?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -166,11 +166,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003004001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Causes",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/cause/list?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/cause/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 35,
|
||||
|
|
@ -181,11 +181,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003005001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Solutions",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/solution/list?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/solution/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 40,
|
||||
|
|
@ -196,11 +196,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1003006001,
|
||||
"pid": "3dea5d6b54ce4157dd6f73b4ea9cfb5091bad255",
|
||||
"pid": "e653e8c03bdce085c1b490e6b64ba3f747f2e5ca",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Settings",
|
||||
"uri": "{/base}/{/lang}/backend/controlling/riskmanagement/settings/dashboard?{?}",
|
||||
"uri": "{/base}/{/lang}/backend/riskmanagement/settings/dashboard?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 45,
|
||||
|
|
|
|||
|
|
@ -3,115 +3,115 @@
|
|||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/backend/controlling/riskmanagement/cockpit.*$' => [
|
||||
'^.*/backend/riskmanagement/cockpit.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskCockpit',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/risk/list.*$' => [
|
||||
'^.*/backend/riskmanagement/risk/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskList',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/risk/create.*$' => [
|
||||
'^.*/backend/riskmanagement/risk/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/risk/single.*$' => [
|
||||
'^.*/backend/riskmanagement/risk/single.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskSingle',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/cause/list.*$' => [
|
||||
'^.*/backend/riskmanagement/cause/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskCauseList',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/cause/single.*$' => [
|
||||
'^.*/backend/riskmanagement/cause/single.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskCauseSingle',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/solution/list.*$' => [
|
||||
'^.*/backend/riskmanagement/solution/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskSolutionList',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/solution/single.*$' => [
|
||||
'^.*/backend/riskmanagement/solution/single.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskSolutionSingle',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/unit/list.*$' => [
|
||||
'^.*/backend/riskmanagement/unit/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskUnitList',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/unit/single.*$' => [
|
||||
'^.*/backend/riskmanagement/unit/single.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskUnitSingle',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/department/list.*$' => [
|
||||
'^.*/backend/riskmanagement/department/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskDepartmentList',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/department/single.*$' => [
|
||||
'^.*/backend/riskmanagement/department/single.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskDepartmentSingle',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/category/list.*$' => [
|
||||
'^.*/backend/riskmanagement/category/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskCategoryList',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/category/single.*$' => [
|
||||
'^.*/backend/riskmanagement/category/single.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskCategorySingle',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/project/list.*$' => [
|
||||
'^.*/backend/riskmanagement/project/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskProjectList',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/project/single.*$' => [
|
||||
'^.*/backend/riskmanagement/project/single.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskProjectSingle',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/process/list.*$' => [
|
||||
'^.*/backend/riskmanagement/process/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskProcessList',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/process/single.*$' => [
|
||||
'^.*/backend/riskmanagement/process/single.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskProcessSingle',
|
||||
'verb' => RouteVerb::GET,
|
||||
],
|
||||
],
|
||||
'^.*/backend/controlling/riskmanagement/settings/dashboard.*$' => [
|
||||
'^.*/backend/riskmanagement/settings/dashboard.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskSettings',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Causes') ?></caption>
|
||||
<caption><?= $this->getHtml('Categories') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="col-xs-12 col-md-3">
|
||||
<section class="box wf-100">
|
||||
<div class="inner">
|
||||
<a class="button" href="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/controlling/riskmanagement/risk/create'); ?>"><?= $this->getHtml('NewRisk') ?></a>
|
||||
<a class="button" href="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/risk/create'); ?>"><?= $this->getHtml('NewRisk') ?></a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Causes') ?></caption>
|
||||
<caption><?= $this->getHtml('Departments') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
|
|
|
|||
|
|
@ -13,3 +13,265 @@
|
|||
*/
|
||||
$department = $this->getData('department');
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<div class="tabular-2">
|
||||
<div class="box">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab-1"><?= $this->getHtml('Department'); ?></label>
|
||||
<li><label for="c-tab-2"><?= $this->getHtml('Risks'); ?></label>
|
||||
<li><label for="c-tab-3"><?= $this->getHtml('Categories'); ?></label>
|
||||
<li><label for="c-tab-4"><?= $this->getHtml('Projects'); ?></label>
|
||||
<li><label for="c-tab-5"><?= $this->getHtml('Processes'); ?></label>
|
||||
<li><label for="c-tab-6"><?= $this->getHtml('Causes'); ?></label>
|
||||
<li><label for="c-tab-7"><?= $this->getHtml('Solutions'); ?></label>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tab-content">
|
||||
<input type="radio" id="c-tab-1" name="tabular-2" checked>
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Department') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><?= $this->getHtml('Name') ?></label><td><?= htmlspecialchars($department->getDepartment()->getName()); ?>
|
||||
<tr><td><?= $this->getHtml('Description') ?>:<td><?= htmlspecialchars($department->getDepartment()->getDescription()); ?>
|
||||
<tr><td><?= $this->getHtml('Unit') ?>:<td><?= htmlspecialchars($department->getDepartment()->getUnit()->getName()); ?>
|
||||
<tr><td><?= $this->getHtml('Risks') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Categories') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Projects') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Processes') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Causes') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Solutions') ?>:<td>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Media') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form>
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td colspan="2"><label for="iMedia"><?= $this->getHtml('Media') ?></label>
|
||||
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getHtml('Select') ?></button>
|
||||
<tr><td colspan="2"><label for="iUpload"><?= $this->getHtml('Upload') ?></label>
|
||||
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Responsibility') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form>
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iResponsibility"><?= $this->getHtml('Responsibility') ?></label><td><label for="iUser"><?= $this->getHtml('UserGroup') ?></label><td>
|
||||
<tr><td><select id="iStatus" name="status">
|
||||
<option value="">
|
||||
</select>
|
||||
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iUser" name="user" placeholder=""></span><td><button><?= $this->getHtml('Add', 0, 0); ?></button>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-2" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Risks') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<td><?= $this->getHtml('Causes') ?>
|
||||
<td><?= $this->getHtml('Solutions') ?>
|
||||
<td><?= $this->getHtml('RiskObjects') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="5">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($risks as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getName(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars(count($value->getCauses()), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars(count($value->getSolutions()), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars(count($value->getRiskObjects()), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-3" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Categories') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($categories as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/category/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-4" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Projects') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($projects as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/project/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getProject()->getName(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-5" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Processes') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($processes as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/process/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-6" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Causes') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<td><?= $this->getHtml('Risk') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($causes as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getRisk()->getName(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-7" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Solutions') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<td><?= $this->getHtml('Risk') ?>
|
||||
<td><?= $this->getHtml('Cause') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="4">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($solutions as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/solution/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getRisk()->getName(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getCause()->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="4" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -18,7 +18,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Causes') ?></caption>
|
||||
<caption><?= $this->getHtml('Processes') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Causes') ?></caption>
|
||||
<caption><?= $this->getHtml('Projects') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Causes') ?></caption>
|
||||
<caption><?= $this->getHtml('Risks') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
|
|
@ -27,7 +27,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= $this->getHtml('Solutions') ?>
|
||||
<td><?= $this->getHtml('RiskObjects') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tr><td colspan="5">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($risks as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?>
|
||||
|
|
@ -39,7 +39,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><a href="<?= $url; ?>"><?= htmlspecialchars(count($value->getRiskObjects()), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -13,3 +13,294 @@
|
|||
*/
|
||||
$unit = $this->getData('unit');
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<div class="tabular-2">
|
||||
<div class="box">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab-1"><?= $this->getHtml('Unit'); ?></label>
|
||||
<li><label for="c-tab-2"><?= $this->getHtml('Risks'); ?></label>
|
||||
<li><label for="c-tab-3"><?= $this->getHtml('Departments'); ?></label>
|
||||
<li><label for="c-tab-4"><?= $this->getHtml('Categories'); ?></label>
|
||||
<li><label for="c-tab-5"><?= $this->getHtml('Projects'); ?></label>
|
||||
<li><label for="c-tab-6"><?= $this->getHtml('Processes'); ?></label>
|
||||
<li><label for="c-tab-7"><?= $this->getHtml('Causes'); ?></label>
|
||||
<li><label for="c-tab-8"><?= $this->getHtml('Solutions'); ?></label>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tab-content">
|
||||
<input type="radio" id="c-tab-1" name="tabular-2" checked>
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Unit') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><?= $this->getHtml('Name') ?></label><td><?= htmlspecialchars($unit->getName()); ?>
|
||||
<tr><td><?= $this->getHtml('Description') ?>:<td><?= htmlspecialchars($unit->getDescription()); ?>
|
||||
<tr><td><?= $this->getHtml('Risks') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Departments') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Categories') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Projects') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Processes') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Causes') ?>:<td>
|
||||
<tr><td><?= $this->getHtml('Solutions') ?>:<td>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Media') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form>
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td colspan="2"><label for="iMedia"><?= $this->getHtml('Media') ?></label>
|
||||
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getHtml('Select') ?></button>
|
||||
<tr><td colspan="2"><label for="iUpload"><?= $this->getHtml('Upload') ?></label>
|
||||
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Responsibility') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form>
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iResponsibility"><?= $this->getHtml('Responsibility') ?></label><td><label for="iUser"><?= $this->getHtml('UserGroup') ?></label><td>
|
||||
<tr><td><select id="iStatus" name="status">
|
||||
<option value="">
|
||||
</select>
|
||||
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iUser" name="user" placeholder=""></span><td><button><?= $this->getHtml('Add', 0, 0); ?></button>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-2" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Risks') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<td><?= $this->getHtml('Causes') ?>
|
||||
<td><?= $this->getHtml('Solutions') ?>
|
||||
<td><?= $this->getHtml('RiskObjects') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="5">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($risks as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getName(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars(count($value->getCauses()), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars(count($value->getSolutions()), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars(count($value->getRiskObjects()), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-3" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Departments') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($departments as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/department/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getDepartment()->getName(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-4" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Categories') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($categories as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/category/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-5" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Projects') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($projects as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/project/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getProject()->getName(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-6" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Processes') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($processes as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/process/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-7" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Causes') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<td><?= $this->getHtml('Risk') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="3">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($causes as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getRisk()->getName(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="c-tab-8" name="tabular-2">
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getHtml('Solutions') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<td><?= $this->getHtml('Risk') ?>
|
||||
<td><?= $this->getHtml('Cause') ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="4">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($solutions as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/riskmanagement/solution/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getRisk()->getName(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= htmlspecialchars($value->getCause()->getTitle(), ENT_COMPAT, 'utf-8'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="4" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user