mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-09 09:58:40 +00:00
Fix absolute path to relative paths
This commit is contained in:
parent
3a71c45c68
commit
a086a2c5b2
|
|
@ -5,7 +5,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Helper",
|
"name": "Helper",
|
||||||
"uri": "/{/lang}/backend/helper/list?{?}",
|
"uri": "{/lang}/backend/helper/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 60,
|
"order": 60,
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "List",
|
"name": "List",
|
||||||
"uri": "/{/lang}/backend/helper/list?{?}",
|
"uri": "{/lang}/backend/helper/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 1,
|
"order": 1,
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 5,
|
"subtype": 5,
|
||||||
"name": "CreateReport",
|
"name": "CreateReport",
|
||||||
"uri": "/{/lang}/backend/helper/report/create?{?}",
|
"uri": "{/lang}/backend/helper/report/create?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 5,
|
"order": 5,
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 5,
|
"subtype": 5,
|
||||||
"name": "CreateTemplate",
|
"name": "CreateTemplate",
|
||||||
"uri": "/{/lang}/backend/helper/template/create?{?}",
|
"uri": "{/lang}/backend/helper/template/create?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 10,
|
"order": 10,
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<section class="box wf-100">
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->getHtml('Report'); ?></h1></header>
|
<header><h1><?= $this->getHtml('Report'); ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form id="helper-report-create" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/helper/report/report'); ?>" method="post">
|
<form id="helper-report-create" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/helper/report/report'); ?>" method="post">
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="bc-1">
|
<div class="bc-1">
|
||||||
<ul class="l-1">
|
<ul class="l-1">
|
||||||
<li>
|
<li>
|
||||||
<a href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/helper/single?{?}&id=' . $this->getData('name')); ?>"
|
<a href="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/helper/single?{?}&id=' . $this->getData('name')); ?>"
|
||||||
class="button"><?= $this->getHtml('Report') ?></a>
|
class="button"><?= $this->getHtml('Report') ?></a>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td colspan="4"><?= $this->getHtml('Empty', 0, 0); ?>
|
<td colspan="4"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php foreach ($templates as $key => $template) :
|
<?php foreach ($templates as $key => $template) :
|
||||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/helper/report/view?{?}&id=' . $template->getId()); ?>
|
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/helper/report/view?{?}&id=' . $template->getId()); ?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('ID', 0, 0) ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getId()); ?></a>
|
<td data-label="<?= $this->getHtml('ID', 0, 0) ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getId()); ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getName()); ?></a>
|
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getName()); ?></a>
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="row" style="height: calc(100% - 85px);">
|
<div class="row" style="height: calc(100% - 85px);">
|
||||||
<div class="col-xs-12 col-md-9">
|
<div class="col-xs-12 col-md-9">
|
||||||
<div class="wf-100" style="height: 100%;">
|
<div class="wf-100" style="height: 100%;">
|
||||||
<iframe src="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/helper/report/export/?id=' . $template->getId()); ?>" allowfullscreen></iframe>
|
<iframe src="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/helper/report/export/?id=' . $template->getId()); ?>" allowfullscreen></iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<header><h1><?= $this->getHtml('Reports') ?></h1></header>
|
<header><h1><?= $this->getHtml('Reports') ?></h1></header>
|
||||||
|
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/helper/template'); ?>" method="post">
|
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/helper/template'); ?>" method="post">
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php if (count($reportLanguage) > 1) : ?>
|
<?php if (count($reportLanguage) > 1) : ?>
|
||||||
|
|
@ -68,7 +68,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<header><h1><?= $this->getHtml('Export') ?></h1></header>
|
<header><h1><?= $this->getHtml('Export') ?></h1></header>
|
||||||
|
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/helper/template'); ?>" method="post">
|
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/helper/template'); ?>" method="post">
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<section class="box wf-100">
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->getHtml('Template'); ?></h1></header>
|
<header><h1><?= $this->getHtml('Template'); ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form id="helper-template-create" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/helper/report/template'); ?>" method="post">
|
<form id="helper-template-create" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/helper/report/template'); ?>" method="post">
|
||||||
<table class="layout wf-100" style="table-layout: fixed">
|
<table class="layout wf-100" style="table-layout: fixed">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user