Fixing templates

This commit is contained in:
Dennis Eichhorn 2017-06-24 10:51:43 +02:00
parent e995611a17
commit 8d33d96c43

View File

@ -26,33 +26,37 @@ $footerView->setResults(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('Productions'); ?></caption> <div class="box wf-100">
<thead> <table class="table red">
<tr> <caption><?= $this->getText('Productions'); ?></caption>
<td><?= $this->getText('Status'); ?> <thead>
<td><?= $this->getText('ID', 0, 0); ?> <tr>
<td><?= $this->getText('ID', 0, 0); ?> <td><?= $this->getText('Status'); ?>
<td class="wf-100"><?= $this->getText('Article'); ?> <td><?= $this->getText('ID', 0, 0); ?>
<td><?= $this->getText('Quantity'); ?> <td><?= $this->getText('ID', 0, 0); ?>
<td><?= $this->getText('Start'); ?> <td class="wf-100"><?= $this->getText('Article'); ?>
<td><?= $this->getText('Due'); ?> <td><?= $this->getText('Quantity'); ?>
<td><?= $this->getText('Done'); ?> <td><?= $this->getText('Start'); ?>
<tfoot> <td><?= $this->getText('Due'); ?>
<tr><td colspan="8"><?= $footerView->render(); ?> <td><?= $this->getText('Done'); ?>
<tbody> <tfoot>
<?php $c = 0; foreach ([] as $key => $value) : $c++; <tr><td colspan="8"><?= $footerView->render(); ?>
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?> <tbody>
<tr> <?php $c = 0; foreach ([] as $key => $value) : $c++;
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a> <tr>
<td><a href="<?= $url; ?>"><?= $value->getParent(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getUnit(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<?php endforeach; ?> <td><a href="<?= $url; ?>"><?= $value->getParent(); ?></a>
<?php if($c === 0) : ?> <td><a href="<?= $url; ?>"><?= $value->getUnit(); ?></a>
<tr> <?php endforeach; ?>
<td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?> <?php if($c === 0) : ?>
<?php endif; ?> <tr>
</table> <td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?>
</div> <?php endif; ?>
</table>
</div>
</div>
</div>