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