This commit is contained in:
Dennis Eichhorn 2017-05-28 18:57:57 +02:00
parent bd41a22534
commit a20952a056
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,6 @@ declare(strict_types=1);
namespace Modules\ItemManagement\Models;
use Modules\Media\Models\MediaMapper;
use Modules\Profile\Models\ProfileMapper;
use Modules\Profile\Models\ContactElement;
use Modules\Profile\Models\ContactElementMapper;
use Modules\Profile\Models\ContactMapper;

View File

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