mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-01-24 13:58:40 +00:00
Templating
This commit is contained in:
parent
ace53a32a1
commit
7ddc2b651c
|
|
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr><td colspan="3"><?= $footerView->render(); ?>
|
||||
<tbody>
|
||||
<?php foreach ($this->getData('list:elements') as $key => $value) :
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/unit/profile?id=' . $value->getId()); ?>
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/unit/profile?id=' . $value->getId()); ?>
|
||||
<tr>
|
||||
<td data-label="<?= $this->l11n->lang[0]['ID']; ?>"><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||
<td data-label="<?= $this->l11n->lang['Organization']['Name']; ?>"><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr><td><label for="iName"><?= $this->l11n->lang['Organization']['Name']; ?></label>
|
||||
<tr><td><input type="text" name="name" id="iName" value="<?= $unit->getName(); ?>">
|
||||
<tr><td><label for="iParent"><?= $this->l11n->lang['Organization']['Parent']; ?></label>
|
||||
<tr><td><input type="text" name="parent" id="iParent" value="<?= $unit->getParent(); ?>">
|
||||
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" name="parent" id="iParent" value="<?= $unit->getParent(); ?>" required></span>
|
||||
<tr><td><label for="iStatus"><?= $this->l11n->lang['Organization']['Status']; ?></label>
|
||||
<tr><td><select name="status" id="iStatus">
|
||||
<option><?= $this->l11n->lang['Organization']['Active']; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user