This commit is contained in:
Dennis Eichhorn 2017-05-28 18:57:57 +02:00
parent dfbca194e2
commit 131398f8cd

View File

@ -21,27 +21,31 @@ $footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table red">
<caption><?= $this->getText('Invoices') ?></caption>
<thead>
<tr>
<td><?= $this->getText('ID', 0, 0); ?>
<td><?= $this->getText('Type'); ?>
<td><?= $this->getText('SupplierID'); ?>
<td class="wf-100"><?= $this->getText('Supplier'); ?>
<td><?= $this->getText('Net'); ?>
<td><?= $this->getText('Gross'); ?>
<td><?= $this->getText('Created'); ?>
<td><?= $this->getText('Due'); ?>
<tfoot>
<tr>
<td colspan="8"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<table class="table red">
<caption><?= $this->getText('Invoices') ?></caption>
<thead>
<tr>
<td><?= $this->getText('ID', 0, 0); ?>
<td><?= $this->getText('Type'); ?>
<td><?= $this->getText('SupplierID'); ?>
<td class="wf-100"><?= $this->getText('Supplier'); ?>
<td><?= $this->getText('Net'); ?>
<td><?= $this->getText('Gross'); ?>
<td><?= $this->getText('Created'); ?>
<td><?= $this->getText('Due'); ?>
<tfoot>
<tr>
<td colspan="8"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</table>
</div>
</div>
</div>