This commit is contained in:
Dennis Eichhorn 2022-12-10 22:17:54 +01:00
parent d6c21e0aeb
commit 0a8683a577
8 changed files with 28 additions and 28 deletions

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "Billing",
"uri": "{/prefix}sales/bill/list",
"uri": "{/lang}/{/app}/sales/bill/list",
"target": "self",
"icon": null,
"order": 5,
@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "Open",
"uri": "{/prefix}sales/bill/list",
"uri": "{/lang}/{/app}/sales/bill/list",
"target": "self",
"icon": null,
"order": 1,
@ -34,7 +34,7 @@
"type": 3,
"subtype": 1,
"name": "Archive",
"uri": "{/prefix}sales/bill/archive",
"uri": "{/lang}/{/app}/sales/bill/archive",
"target": "self",
"icon": null,
"order": 5,
@ -49,7 +49,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "{/prefix}sales/bill/create?{?}",
"uri": "{/lang}/{/app}/sales/bill/create?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -66,7 +66,7 @@
"type": 2,
"subtype": 1,
"name": "Billing",
"uri": "{/prefix}purchase/bill/list",
"uri": "{/lang}/{/app}/purchase/bill/list",
"target": "self",
"icon": null,
"order": 5,
@ -80,7 +80,7 @@
"type": 3,
"subtype": 1,
"name": "Open",
"uri": "{/prefix}purchase/bill/list",
"uri": "{/lang}/{/app}/purchase/bill/list",
"target": "self",
"icon": null,
"order": 1,
@ -95,7 +95,7 @@
"type": 3,
"subtype": 1,
"name": "Archive",
"uri": "{/prefix}purchase/bill/archive",
"uri": "{/lang}/{/app}/purchase/bill/archive",
"target": "self",
"icon": null,
"order": 5,
@ -110,7 +110,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "{/prefix}purchase/bill/create?{?}",
"uri": "{/lang}/{/app}/purchase/bill/create?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -125,7 +125,7 @@
"type": 3,
"subtype": 1,
"name": "Upload",
"uri": "{/prefix}purchase/bill/upload?{?}",
"uri": "{/lang}/{/app}/purchase/bill/upload?{?}",
"target": "self",
"icon": null,
"order": 15,
@ -142,7 +142,7 @@
"type": 2,
"subtype": 1,
"name": "Billing",
"uri": "{/prefix}warehouse/bill/list",
"uri": "{/lang}/{/app}/warehouse/bill/list",
"target": "self",
"icon": null,
"order": 5,
@ -156,7 +156,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "{/prefix}warehouse/bill/list",
"uri": "{/lang}/{/app}/warehouse/bill/list",
"target": "self",
"icon": null,
"order": 1,
@ -171,7 +171,7 @@
"type": 3,
"subtype": 1,
"name": "Archive",
"uri": "{/prefix}warehouse/bill/archive",
"uri": "{/lang}/{/app}/warehouse/bill/archive",
"target": "self",
"icon": null,
"order": 1,
@ -186,7 +186,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "{/prefix}warehouse/bill/create?{?}",
"uri": "{/lang}/{/app}/warehouse/bill/create?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -203,7 +203,7 @@
"type": 3,
"subtype": 1,
"name": "Bill",
"uri": "{/prefix}sales/analysis/bill",
"uri": "{/lang}/{/app}/sales/analysis/bill",
"target": "self",
"icon": null,
"order": 15,
@ -218,7 +218,7 @@
"type": 3,
"subtype": 1,
"name": "Bill",
"uri": "{/prefix}purchase/analysis/bill",
"uri": "{/lang}/{/app}/purchase/analysis/bill",
"target": "self",
"icon": null,
"order": 15,
@ -233,7 +233,7 @@
"type": 2,
"subtype": 1,
"name": "Purchase",
"uri": "{/prefix}private/purchase/billing/dashboard?{?}",
"uri": "{/lang}/{/app}/private/purchase/billing/dashboard?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -247,7 +247,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "{/prefix}private/purchase/billing/dashboard?{?}",
"uri": "{/lang}/{/app}/private/purchase/billing/dashboard?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -263,7 +263,7 @@
"type": 3,
"subtype": 1,
"name": "Upload",
"uri": "{/prefix}private/purchase/billing/upload?{?}",
"uri": "{/lang}/{/app}/private/purchase/billing/upload?{?}",
"target": "self",
"icon": null,
"order": 5,

View File

@ -154,7 +154,7 @@ echo $this->getData('nav')->render(); ?>
<?php $count = 0;
foreach ($bills as $key => $value) :
++$count;
$url = UriFactory::build('purchase/bill?{?}&id=' . $value->getId());
$url = UriFactory::build('{/lang}/{/app}/purchase/bill?{?}&id=' . $value->getId());
?>
<tr data-href="<?= $url; ?>">
<td><label class="checkbox" for="iBillSelect-<?= $key; ?>">

View File

@ -300,8 +300,8 @@ echo $this->getData('nav')->render(); ?>
<tbody>
<?php foreach ($media as $file) :
$url = $file->extension === 'collection'
? UriFactory::build('media/list?path=' . \rtrim($file->getVirtualPath(), '/') . '/' . $file->name)
: UriFactory::build('media/single?id=' . $file->getId()
? UriFactory::build('{/lang}/{/app}/media/list?path=' . \rtrim($file->getVirtualPath(), '/') . '/' . $file->name)
: UriFactory::build('{/lang}/{/app}/media/single?id=' . $file->getId()
. '&path={?path}' . (
$file->getId() === 0
? '/' . $file->name

View File

@ -165,7 +165,7 @@ echo $this->getData('nav')->render(); ?>
<tbody>
<?php $count = 0; foreach ($bills as $key => $value) :
++$count;
$url = UriFactory::build('sales/bill?{?}&id=' . $value->getId());
$url = UriFactory::build('{/lang}/{/app}/sales/bill?{?}&id=' . $value->getId());
?>
<tr data-href="<?= $url; ?>">
<td><label class="checkbox" for="iBillSelect-<?= $key; ?>">

View File

@ -280,8 +280,8 @@ echo $this->getData('nav')->render(); ?>
<tbody>
<?php foreach ($media as $file) :
$url = $file->extension === 'collection'
? UriFactory::build('media/list?path=' . \rtrim($file->getVirtualPath(), '/') . '/' . $file->name)
: UriFactory::build('media/single?id=' . $file->getId()
? UriFactory::build('{/lang}/{/app}/media/list?path=' . \rtrim($file->getVirtualPath(), '/') . '/' . $file->name)
: UriFactory::build('{/lang}/{/app}/media/single?id=' . $file->getId()
. '&path={?path}' . (
$file->getId() === 0
? '/' . $file->name

View File

@ -154,7 +154,7 @@ echo $this->getData('nav')->render(); ?>
<?php $count = 0;
foreach ($bills as $key => $value) :
++$count;
$url = UriFactory::build('private/purchase/bill?{?}&id=' . $value->getId());
$url = UriFactory::build('{/lang}/{/app}/private/purchase/bill?{?}&id=' . $value->getId());
?>
<tr data-href="<?= $url; ?>">
<td><label class="checkbox" for="iBillSelect-<?= $key; ?>">

View File

@ -298,8 +298,8 @@ echo $this->getData('nav')->render(); ?>
<tbody>
<?php foreach ($media as $file) :
$url = $file->extension === 'collection'
? UriFactory::build('media/list?path=' . \rtrim($file->getVirtualPath(), '/') . '/' . $file->name)
: UriFactory::build('media/single?id=' . $file->getId()
? UriFactory::build('{/lang}/{/app}/media/list?path=' . \rtrim($file->getVirtualPath(), '/') . '/' . $file->name)
: UriFactory::build('{/lang}/{/app}/media/single?id=' . $file->getId()
. '&path={?path}' . (
$file->getId() === 0
? '/' . $file->name

View File

@ -12,7 +12,7 @@
},
"creator": {
"name": "Karaka",
"website": "www.spl1nes.com"
"website": "jingga.app"
},
"description": "Accounting module.",
"directory": "Billing",