mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-02-09 08:48:41 +00:00
Fix relative path
This commit is contained in:
parent
07c1bf87c6
commit
ab54e285c4
|
|
@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr>
|
||||
<td colspan="6">
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ([] as $key => $value) : $count++; ?>
|
||||
<?php $count = 0; foreach ([] as $key => $value) : ++$count; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($count === 0) : ?>
|
||||
<tr><td colspan="6" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr>
|
||||
<td colspan="6">
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ($items as $key => $value) : $count++;
|
||||
<?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; ?>"><?= $this->printHtml($value->getNumber()); ?></a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user