mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-13 14:58:41 +00:00
Fix bugs during demo app set up
This commit is contained in:
parent
c776741885
commit
e421fd2cb9
|
|
@ -82,6 +82,18 @@ class Department implements ArrayableInterface, \JsonSerializable
|
||||||
*/
|
*/
|
||||||
protected $descriptionRaw = '';
|
protected $descriptionRaw = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param string $name Department name
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public function __construct(string $name = '')
|
||||||
|
{
|
||||||
|
$this->setName($name);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get id
|
* Get id
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,9 @@ echo $this->getData('nav')->render(); ?>
|
||||||
$unit->getDescriptionRaw(),
|
$unit->getDescriptionRaw(),
|
||||||
$unit->getDescription()
|
$unit->getDescription()
|
||||||
); ?>
|
); ?>
|
||||||
<tr><td><input id="iSubmit" name="submit" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
|
<tr><td>
|
||||||
|
<input id="iUnitId" name="id" type="hidden" value="<?= (int) $unit->getId(); ?>">
|
||||||
|
<input id="iSubmit" name="submit" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user