Fix footer rendering

This commit is contained in:
Dennis Eichhorn 2017-07-25 19:09:46 +02:00
parent e6dedfbf94
commit 9555c147c6
4 changed files with 4 additions and 4 deletions

View File

@ -604,7 +604,7 @@ echo $this->getData('nav')->render(); ?>
<td><?= $this->getHtml('Date') ?>
<tfoot>
<tr>
<td colspan="6"><?= htmlspecialchars($footerView->render(), ENT_COMPAT, 'utf-8'); ?>
<td colspan="6"><?= $footerView->render(); ?>
<tbody>
<tr>
<td><?= htmlspecialchars($this->request->getOrigin(), ENT_COMPAT, 'utf-8'); ?>

View File

@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?>
<td><?= $this->getHtml('Ordered') ?>
<tfoot>
<tr>
<td colspan="6"><?= htmlspecialchars($footerView->render(), ENT_COMPAT, 'utf-8'); ?>
<td colspan="6"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>

View File

@ -37,7 +37,7 @@ echo $this->getData('nav')->render(); ?>
<td><?= $this->getHtml('Ordered') ?>
<tfoot>
<tr>
<td colspan="6"><?= htmlspecialchars($footerView->render(), ENT_COMPAT, 'utf-8'); ?>
<td colspan="6"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach($items as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/sales/item/single?{?}&id=' . $value->getId()); ?>

View File

@ -36,7 +36,7 @@ echo $this->getData('nav')->render(); ?>
<td class="wf-100"><?= $this->getHtml('Article') ?>
<td><?= $this->getHtml('Quantity') ?>
<tfoot>
<tr><td colspan="8"><?= htmlspecialchars($footerView->render(), ENT_COMPAT, 'utf-8'); ?>
<tr><td colspan="8"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?>