mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-01-11 01:28:40 +00:00
general fixes
This commit is contained in:
parent
2c3551854c
commit
c448b5160a
|
|
@ -105,7 +105,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<?php
|
<?php
|
||||||
$units = $this->data['units'] ?? [];
|
$units = $this->data['units'] ?? [];
|
||||||
foreach ($units as $unit) : ?>
|
foreach ($units as $unit) : ?>
|
||||||
<option value="<?= $unit->id; ?>"<?= $contract->unit->id === $unit->id ? ' selected' : ''; ?>><?= $this->printHtml($unit->name); ?>
|
<option value="<?= $unit->id; ?>"<?= $contract->unit?->id === $unit->id ? ' selected' : ''; ?>><?= $this->printHtml($unit->name); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user