bug fixes

This commit is contained in:
Dennis Eichhorn 2021-06-05 11:01:03 +02:00
parent f72fcdaad9
commit 47e4ba0084
2 changed files with 6 additions and 5 deletions

View File

@ -37,7 +37,7 @@
"uri": "{/prefix}sales/bill/archive",
"target": "self",
"icon": null,
"order": 1,
"order": 5,
"from": "Billing",
"permission": { "permission": 2, "type": null, "element": null },
"parent": 1005104001,
@ -52,7 +52,7 @@
"uri": "{/prefix}sales/bill/create?{?}",
"target": "self",
"icon": null,
"order": 5,
"order": 10,
"from": "Billing",
"permission": { "permission": 4, "type": null, "element": null },
"parent": 1005104001,

View File

@ -173,9 +173,10 @@ echo $this->getData('nav')->render(); ?>
</label>
<td><a href="<?= $url; ?>"><?= $value->getNumber(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->type->getL11n(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->client->number; ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->billTo); ?></a>
<td><a href="<?= $url; ?>"><?= $value->billAddress; ?></a>
<td><a class="content" href="<?= $client = UriFactory::build('{/prefix}sales/client/profile?{?}&id=' . $value->client->getId()); ?>"><?= $value->client->number; ?></a>
<td><a class="content" href="<?= $client; ?>"><?= $this->printHtml($value->billTo); ?></a>
<td><a href="<?= $url;
?>"><?= $value->billAddress; ?></a>
<td><a href="<?= $url; ?>"><?= $value->billZip; ?></a>
<td><a href="<?= $url; ?>"><?= $value->billCity; ?></a>
<td><a href="<?= $url; ?>"><?= $value->billCountry; ?></a>