many bug fixes
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2025-03-11 03:09:20 +00:00
parent 693d25233b
commit 20bcaab500
2 changed files with 4 additions and 2 deletions

View File

@ -81,7 +81,7 @@ echo $this->data['nav']->render(); ?>
$count = 0; $count = 0;
foreach ($equipments as $key => $value) : foreach ($equipments as $key => $value) :
++$count; ++$count;
$url = UriFactory::build('{/base}/equipment/equipment/view?{?}&id=' . $value->id); $url = UriFactory::build('{/base}/equipment/view?{?}&id=' . $value->id);
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td> <td>

View File

@ -81,7 +81,7 @@ echo $this->data['nav']->render();
<div class="form-group"> <div class="form-group">
<label for="iEquipmentLocation"><?= $this->getHtml('Location'); ?></label> <label for="iEquipmentLocation"><?= $this->getHtml('Location'); ?></label>
<input type="text" id="iEquipmentLocation" name="location" value="<?= $this->printHtml($asset->number); ?>"> <input type="text" id="iEquipmentLocation" name="location" value="<?= $this->printHtml($equipment->location); ?>">
</div> </div>
<div class="form-group"> <div class="form-group">
@ -134,6 +134,7 @@ echo $this->data['nav']->render();
</section> </section>
</div> </div>
<?php if (!$isNew) : ?>
<div class="col-xs-12 col-md-6"> <div class="col-xs-12 col-md-6">
<section class="portlet"> <section class="portlet">
<div class="portlet-body"> <div class="portlet-body">
@ -143,6 +144,7 @@ echo $this->data['nav']->render();
</div> </div>
</section> </section>
</div> </div>
<?php endif; ?>
</div> </div>
</div> </div>