mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-01-10 17:18:41 +00:00
general fixes
This commit is contained in:
parent
2c3551854c
commit
c448b5160a
|
|
@ -105,7 +105,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<?php
|
||||
$units = $this->data['units'] ?? [];
|
||||
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; ?>
|
||||
</select>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user