fix table links+obj members

This commit is contained in:
Dennis Eichhorn 2017-09-15 08:43:00 +02:00
parent 7061ee95dd
commit 689c0703ac

View File

@ -80,7 +80,7 @@ echo $this->getData('nav')->render(); ?>
<tbody>
<?php $count = 0; foreach($clients as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/sales/client/profile?{?}&id=' . $value->getId()); ?>
<tr>
<tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getNumber()); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getProfile()->getAccount()->getName1()); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getProfile()->getAccount()->getName2()); ?></a>