mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-01-25 06:18: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 = '';
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param string $name Department name
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct(string $name = '')
|
||||
{
|
||||
$this->setName($name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
|
|
|
|||
|
|
@ -42,7 +42,9 @@ echo $this->getData('nav')->render(); ?>
|
|||
$unit->getDescriptionRaw(),
|
||||
$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>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user