Fix absolute path to relative paths

This commit is contained in:
Dennis Eichhorn 2019-02-11 11:38:15 +01:00
parent 1d67ff721b
commit 07c1bf87c6
4 changed files with 42 additions and 42 deletions

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "Articles",
"uri": "/{/lang}/backend/sales/item/list?{?}",
"uri": "{/lang}/backend/sales/item/list?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/sales/item/list?{?}",
"uri": "{/lang}/backend/sales/item/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -33,7 +33,7 @@
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/sales/item/single?{?}",
"uri": "{/lang}/backend/sales/item/single?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -50,7 +50,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/sales/item/create?{?}",
"uri": "{/lang}/backend/sales/item/create?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -67,7 +67,7 @@
"type": 2,
"subtype": 1,
"name": "Articles",
"uri": "/{/lang}/backend/purchase/item/list?{?}",
"uri": "{/lang}/backend/purchase/item/list?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -81,7 +81,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/purchase/item/list?{?}",
"uri": "{/lang}/backend/purchase/item/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -95,7 +95,7 @@
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/purchase/item/single?{?}",
"uri": "{/lang}/backend/purchase/item/single?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -112,7 +112,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/purchase/item/create?{?}",
"uri": "{/lang}/backend/purchase/item/create?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -129,7 +129,7 @@
"type": 2,
"subtype": 1,
"name": "Stock",
"uri": "/{/lang}/backend/warehouse/stock/list?{?}",
"uri": "{/lang}/backend/warehouse/stock/list?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -143,7 +143,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/warehouse/stock/list?{?}",
"uri": "{/lang}/backend/warehouse/stock/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -157,7 +157,7 @@
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/warehouse/stock/single?{?}",
"uri": "{/lang}/backend/warehouse/stock/single?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -174,7 +174,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/warehouse/stock/create?{?}",
"uri": "{/lang}/backend/warehouse/stock/create?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -191,7 +191,7 @@
"type": 2,
"subtype": 1,
"name": "Articles",
"uri": "/{/lang}/backend/production/item/list?{?}",
"uri": "{/lang}/backend/production/item/list?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -205,7 +205,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/production/item/list?{?}",
"uri": "{/lang}/backend/production/item/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -219,7 +219,7 @@
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/production/item/single?{?}",
"uri": "{/lang}/backend/production/item/single?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -236,7 +236,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/production/item/create?{?}",
"uri": "{/lang}/backend/production/item/create?{?}",
"target": "self",
"icon": null,
"order": 5,

View File

@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box wf-100">
<header><h1><?= $this->getHtml('Item'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iSource"><?= $this->getHtml('ID'); ?></label>
@ -68,7 +68,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box wf-100">
<header><h1><?= $this->getHtml('Language'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iLanguage"><?= $this->getHtml('Language'); ?></label>
@ -96,7 +96,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Property'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPCustomsId"><?= $this->getHtml('Name'); ?></label>
@ -115,7 +115,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Language'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPTradingUnit"><?= $this->getHtml('Language'); ?></label>
@ -134,7 +134,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Language'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPTradingUnit"><?= $this->getHtml('Language'); ?></label>
@ -154,7 +154,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Attribute'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPCustomsId"><?= $this->getHtml('Name'); ?></label>
@ -173,7 +173,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Language'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPTradingUnit"><?= $this->getHtml('Language'); ?></label>
@ -192,7 +192,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Language'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPTradingUnit"><?= $this->getHtml('Language'); ?></label>
@ -214,7 +214,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Sales'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPType"><?= $this->getHtml('Status'); ?></label>
@ -256,7 +256,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Price'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td colspan="2"><label for="iPName"><?= $this->getHtml('Name'); ?></label>
@ -292,7 +292,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Purchase'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iSupplierId"><?= $this->getHtml('Supplier'); ?></label>
@ -325,7 +325,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Price'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPName"><?= $this->getHtml('Name'); ?></label>
@ -349,7 +349,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Stock'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPVariation"><?= $this->getHtml('Stock'); ?></label>
@ -373,7 +373,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Supplier'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPName"><?= $this->getHtml('Name'); ?></label>
@ -391,7 +391,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Accounting'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td colspan="2"><label for="iACostIndicator"><?= $this->getHtml('CostIndicator'); ?></label>
@ -412,7 +412,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Production'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPType"><?= $this->getHtml('Status'); ?></label>
@ -442,7 +442,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('StockList'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iSource"><?= $this->getHtml('ID'); ?></label>
@ -460,7 +460,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('QM'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
</table>
@ -473,7 +473,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Packaging'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPVariation"><?= $this->getHtml('Container'); ?></label>
@ -505,7 +505,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Media'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iDiscount"><?= $this->getHtml('Media'); ?></label>
@ -521,7 +521,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Stock'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPVariation"><?= $this->getHtml('ShelfLife'); ?></label>
@ -534,7 +534,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Stock'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPVariation"><?= $this->getHtml('Stock'); ?></label>
@ -558,7 +558,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Disposal'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
</table>
@ -571,7 +571,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<header><h1><?= $this->getHtml('Files'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iDiscount"><?= $this->getHtml('Files'); ?></label>

View File

@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
<td colspan="6">
<tbody>
<?php $count = 0; foreach ($items as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/sales/item/single?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/sales/item/single?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getNumber()); ?></a>
<td>

View File

@ -37,7 +37,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="8">
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>