diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index ae9470e..9ce1a86 100755 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -19,7 +19,7 @@ "type": 2, "subtype": 1, "name": "Attributes", - "uri": "{/prefix}item/attribute/type?{?}", + "uri": "{/lang}/{/app}/item/attribute/type?{?}", "target": "self", "icon": null, "order": 15, @@ -33,7 +33,7 @@ "type": 3, "subtype": 1, "name": "Types", - "uri": "{/prefix}item/attribute/type?{?}", + "uri": "{/lang}/{/app}/item/attribute/type?{?}", "target": "self", "icon": null, "order": 15, @@ -48,7 +48,7 @@ "type": 3, "subtype": 1, "name": "Values", - "uri": "{/prefix}item/attribute/value?{?}", + "uri": "{/lang}/{/app}/item/attribute/value?{?}", "target": "self", "icon": null, "order": 15, @@ -67,7 +67,7 @@ "type": 2, "subtype": 1, "name": "Articles", - "uri": "{/prefix}sales/item/list", + "uri": "{/lang}/{/app}/sales/item/list", "target": "self", "icon": null, "order": 10, @@ -81,7 +81,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/prefix}sales/item/list", + "uri": "{/lang}/{/app}/sales/item/list", "target": "self", "icon": null, "order": 1, @@ -95,7 +95,7 @@ "type": 3, "subtype": 1, "name": "Article", - "uri": "{/prefix}sales/item/single?{?}", + "uri": "{/lang}/{/app}/sales/item/single?{?}", "target": "self", "icon": null, "order": 1, @@ -112,7 +112,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/prefix}sales/item/create?{?}", + "uri": "{/lang}/{/app}/sales/item/create?{?}", "target": "self", "icon": null, "order": 5, @@ -129,7 +129,7 @@ "type": 2, "subtype": 1, "name": "Articles", - "uri": "{/prefix}purchase/item/list", + "uri": "{/lang}/{/app}/purchase/item/list", "target": "self", "icon": null, "order": 10, @@ -143,7 +143,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/prefix}purchase/item/list", + "uri": "{/lang}/{/app}/purchase/item/list", "target": "self", "icon": null, "order": 1, @@ -157,7 +157,7 @@ "type": 3, "subtype": 1, "name": "Article", - "uri": "{/prefix}purchase/item/single?{?}", + "uri": "{/lang}/{/app}/purchase/item/single?{?}", "target": "self", "icon": null, "order": 1, @@ -174,7 +174,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/prefix}purchase/item/create?{?}", + "uri": "{/lang}/{/app}/purchase/item/create?{?}", "target": "self", "icon": null, "order": 5, @@ -191,7 +191,7 @@ "type": 2, "subtype": 1, "name": "Articles", - "uri": "{/prefix}warehouse/item/list", + "uri": "{/lang}/{/app}/warehouse/item/list", "target": "self", "icon": null, "order": 10, @@ -205,7 +205,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/prefix}warehouse/item/list", + "uri": "{/lang}/{/app}/warehouse/item/list", "target": "self", "icon": null, "order": 1, @@ -219,7 +219,7 @@ "type": 3, "subtype": 1, "name": "Article", - "uri": "{/prefix}warehouse/item/single?{?}", + "uri": "{/lang}/{/app}/warehouse/item/single?{?}", "target": "self", "icon": null, "order": 1, @@ -236,7 +236,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/prefix}warehouse/item/create?{?}", + "uri": "{/lang}/{/app}/warehouse/item/create?{?}", "target": "self", "icon": null, "order": 5, @@ -253,7 +253,7 @@ "type": 2, "subtype": 1, "name": "Articles", - "uri": "{/prefix}production/item/list", + "uri": "{/lang}/{/app}/production/item/list", "target": "self", "icon": null, "order": 5, @@ -267,7 +267,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/prefix}production/item/list", + "uri": "{/lang}/{/app}/production/item/list", "target": "self", "icon": null, "order": 1, @@ -281,7 +281,7 @@ "type": 3, "subtype": 1, "name": "Article", - "uri": "{/prefix}production/item/single?{?}", + "uri": "{/lang}/{/app}/production/item/single?{?}", "target": "self", "icon": null, "order": 1, @@ -298,7 +298,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/prefix}production/item/create?{?}", + "uri": "{/lang}/{/app}/production/item/create?{?}", "target": "self", "icon": null, "order": 5, @@ -315,7 +315,7 @@ "type": 3, "subtype": 1, "name": "Article", - "uri": "{/prefix}sales/analysis/item", + "uri": "{/lang}/{/app}/sales/analysis/item", "target": "self", "icon": null, "order": 10, @@ -330,7 +330,7 @@ "type": 3, "subtype": 1, "name": "Article", - "uri": "{/prefix}purchase/analysis/item", + "uri": "{/lang}/{/app}/purchase/analysis/item", "target": "self", "icon": null, "order": 10, diff --git a/Theme/Backend/attribute-type-list.tpl.php b/Theme/Backend/attribute-type-list.tpl.php index e891b65..c25137e 100755 --- a/Theme/Backend/attribute-type-list.tpl.php +++ b/Theme/Backend/attribute-type-list.tpl.php @@ -55,7 +55,7 @@ echo $this->getData('nav')->render(); ?> $value) : ++$count; - $url = UriFactory::build('item/attribute/type?{?}&id=' . $value->getId()); + $url = UriFactory::build('{/lang}/{/app}/item/attribute/type?{?}&id=' . $value->getId()); ?> getId(); ?> diff --git a/Theme/Backend/purchase-item-list.tpl.php b/Theme/Backend/purchase-item-list.tpl.php index bae3d52..47608fd 100755 --- a/Theme/Backend/purchase-item-list.tpl.php +++ b/Theme/Backend/purchase-item-list.tpl.php @@ -127,14 +127,14 @@ echo $this->getData('nav')->render(); ?> $value) : ++$count; - $url = UriFactory::build('purchase/item/profile?{?}&id=' . $value->getId()); + $url = UriFactory::build('{/lang}/{/app}/purchase/item/profile?{?}&id=' . $value->getId()); $image = $value->getFileByType('backend_image'); ?> <?= $this->getHtml('IMG_alt_item'); ?> + UriFactory::build('{/lang}/{/app}/' . $image->getPath()); ?>"> printHtml($value->number); ?> printHtml($value->getL11n('name1')->description); ?> printHtml($value->getL11n('name2')->description); ?> diff --git a/Theme/Backend/sales-item-list.tpl.php b/Theme/Backend/sales-item-list.tpl.php index 7283018..c4b6753 100755 --- a/Theme/Backend/sales-item-list.tpl.php +++ b/Theme/Backend/sales-item-list.tpl.php @@ -129,14 +129,14 @@ echo $this->getData('nav')->render(); ?> $value) : ++$count; - $url = UriFactory::build('sales/item/profile?{?}&id=' . $value->getId()); + $url = UriFactory::build('{/lang}/{/app}/sales/item/profile?{?}&id=' . $value->getId()); $image = $value->getFileByType(0); ?> <?= $this->getHtml('IMG_alt_item'); ?> + UriFactory::build('{/lang}/{/app}/' . $image->getPath()); ?>"> printHtml($value->number); ?> printHtml($value->getL11n('name1')->description); ?> printHtml($value->getL11n('name2')->description); ?> diff --git a/Theme/Backend/sales-item-profile.tpl.php b/Theme/Backend/sales-item-profile.tpl.php index d8986bb..7aeeed1 100755 --- a/Theme/Backend/sales-item-profile.tpl.php +++ b/Theme/Backend/sales-item-profile.tpl.php @@ -92,7 +92,7 @@ echo $this->getData('nav')->render();
<?= $this->printHtml($image->name); ?> + src="getPath()); ?>">
@@ -169,7 +169,7 @@ echo $this->getData('nav')->render(); getHtml('CreatedAt'); ?> getId()); + $url = UriFactory::build('{/lang}/{/app}/editor/single?{?}&id=' . $note->getId()); ?> printHtml($note->title); ?> @@ -192,7 +192,7 @@ echo $this->getData('nav')->render(); getHtml('CreatedAt'); ?> getId()); + $url = UriFactory::build('{/lang}/{/app}/media/single?{?}&id=' . $file->getId()); ?> printHtml($file->name); ?> @@ -222,12 +222,12 @@ echo $this->getData('nav')->render(); getId()); + $url = UriFactory::build('{/lang}/{/app}/sales/bill?{?}&id=' . $invoice->getId()); ?> printHtml($invoice->getNumber()); ?> printHtml($invoice->type->getL11n()); ?> - printHtml($invoice->billTo); ?> + printHtml($invoice->billTo); ?> printHtml($invoice->netSales->getCurrency()); ?> printHtml($invoice->createdAt->format('Y-m-d')); ?> @@ -250,7 +250,7 @@ echo $this->getData('nav')->render(); getHtml('Net'); ?> getId()); + $url = UriFactory::build('{/lang}/{/app}/sales/client/profile?id=' . $client->getId()); ?> printHtml($client->number); ?> @@ -468,7 +468,7 @@ echo $this->getData('nav')->render(); $value) : ++$c; - $url = UriFactory::build('admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> getId(); ?> @@ -546,7 +546,7 @@ echo $this->getData('nav')->render(); $value) : ++$c; - $url = UriFactory::build('admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> getId(); ?> @@ -628,7 +628,7 @@ echo $this->getData('nav')->render(); $value) : ++$c; - $url = UriFactory::build('admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> getId(); ?> @@ -759,7 +759,7 @@ echo $this->getData('nav')->render(); $value) : ++$c; - $url = UriFactory::build('admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> getId(); ?> @@ -930,7 +930,7 @@ echo $this->getData('nav')->render(); getId()); + $url = UriFactory::build('{/lang}/{/app}/sales/bill?{?}&id=' . $invoice->getId()); ?> getNumber(); ?> diff --git a/Theme/Backend/stock-list.tpl.php b/Theme/Backend/stock-list.tpl.php index fe70d33..2c5d63e 100755 --- a/Theme/Backend/stock-list.tpl.php +++ b/Theme/Backend/stock-list.tpl.php @@ -52,14 +52,14 @@ echo $this->getData('nav')->render(); ?> $value) : ++$count; - $url = UriFactory::build('warehouse/item/profile?{?}&id=' . $value->getId()); + $url = UriFactory::build('{/lang}/{/app}/warehouse/item/profile?{?}&id=' . $value->getId()); $image = $value->getFileByType('backend_image'); ?> <?= $this->printHtml($image->name); ?> + UriFactory::build('{/lang}/{/app}/' . $image->getPath()); ?>"> printHtml($value->number); ?> printHtml($value->getL11n('name1')->description); ?> printHtml($value->getL11n('name2')->description); ?> diff --git a/info.json b/info.json index bab09f3..62e7503 100755 --- a/info.json +++ b/info.json @@ -12,7 +12,7 @@ }, "creator": { "name": "Karaka", - "website": "www.spl1nes.com" + "website": "jingga.app" }, "description": "Event Management module.", "directory": "ItemManagement",