mirror of
https://github.com/Karaka-Management/oms-Workflow.git
synced 2026-01-11 06:48:41 +00:00
remove some getter/setter
This commit is contained in:
parent
76ce6b8584
commit
56bbeb81cb
|
|
@ -44,8 +44,8 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td data-label="<?= $this->getHtml('Status'); ?>"><a href="<?= $url; ?>"><span class="tag <?= $this->printHtml($color); ?>"><?= $this->getHtml('S' . $workflow->getStatus()); ?></span></a>
|
||||
<td data-label="<?= $this->getHtml('Next'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getDue()->format('Y-m-d H:i')); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getTitle()); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Creator'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getCreatedBy()->getId()); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Created'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getCreatedAt()->format('Y-m-d H:i')); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Creator'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->createdBy->getId()); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Created'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->createdAt->format('Y-m-d H:i')); ?></a>
|
||||
<?php endforeach; if ($c == 0) : ?>
|
||||
<tr><td colspan="6" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -26,11 +26,11 @@ echo $this->getData('nav')->render(); ?>
|
|||
<header><h1><?= $this->printHtml($task->getTitle()); ?></h1></header>
|
||||
<div class="inner">
|
||||
<div class="floatRight">Due <?= $this->printHtml($task->getDue()->format('Y-m-d H:i')); ?></div>
|
||||
<div>Created <?= $this->printHtml($task->getCreatedAt()->format('Y-m-d H:i')); ?></div>
|
||||
<div>Created <?= $this->printHtml($task->createdAt->format('Y-m-d H:i')); ?></div>
|
||||
<blockquote>
|
||||
<?= $this->printHtml($task->getDescription()); ?>
|
||||
<?= $this->printHtml($task->description); ?>
|
||||
</blockquote>
|
||||
<div>Created <?= $this->printHtml($task->getCreatedBy()->getId()); ?></div>
|
||||
<div>Created <?= $this->printHtml($task->createdBy->getId()); ?></div>
|
||||
<div>Status <?= $this->printHtml($task->getStatus()); ?></div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
@ -44,13 +44,13 @@ foreach ($elements as $key => $element) : ++$c;
|
|||
elseif ($element->getStatus() === \Modules\Tasks\Models\TaskStatus::SUSPENDED) { $color = 'yellow'; } ?>
|
||||
<section class="box w-50">
|
||||
<div class="floatRight"><span class="tag <?= $this->printHtml($color); ?>"><?= $this->getHtml('S' . $element->getStatus()); ?></span></div>
|
||||
<div><?= $this->printHtml($element->getCreatedBy()->getId()); ?> - <?= $this->printHtml($element->getCreatedAt()->format('Y-m-d H:i')); ?></div>
|
||||
<div><?= $this->printHtml($element->createdBy->getId()); ?> - <?= $this->printHtml($element->createdAt->format('Y-m-d H:i')); ?></div>
|
||||
</section>
|
||||
<?php if ($element->getDescription() !== '') : ?>
|
||||
<?php if ($element->description !== '') : ?>
|
||||
<section class="box w-50">
|
||||
<div class="inner">
|
||||
<blockquote>
|
||||
<?= $this->printHtml($element->getDescription()); ?>
|
||||
<?= $this->printHtml($element->description); ?>
|
||||
</blockquote>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user