mirror of
https://github.com/Karaka-Management/oms-Checklist.git
synced 2026-01-29 07:58:42 +00:00
Fix getHtml para type
This commit is contained in:
parent
f52b12d8a2
commit
6acf13a07d
|
|
@ -30,7 +30,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<caption><?= $this->getHtml('Checklists') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||
<td><?= $this->getHtml('Status') ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Name') ?>
|
||||
<td><?= $this->getHtml('Creator') ?>
|
||||
|
|
@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php $c = 0; foreach ([] as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}checklist/single?{?}&id=' . $value->getId()); ?>
|
||||
<tr>
|
||||
<td data-label="<?= $this->getHtml('ID', 0, 0) ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
||||
<td data-label="<?= $this->getHtml('ID', '0', '0') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Status') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getParent()); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Creator') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getUnit()); ?></a>
|
||||
|
|
@ -49,7 +49,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php endforeach; ?>
|
||||
<?php if ($c === 0) : ?>
|
||||
<tr>
|
||||
<td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<td colspan="5" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -30,10 +30,10 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr><td><label for="iPermission"><?= $this->getHtml('Permissions') ?></label><td>
|
||||
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button>
|
||||
<input type="text" id="iPermission" name="permission"></span>
|
||||
<td><button><?= $this->getHtml('Add', 0, 0); ?></button>
|
||||
<td><button><?= $this->getHtml('Add', '0', '0'); ?></button>
|
||||
<tr><td><label for="iFiles"><?= $this->getHtml('Files') ?></label><td>
|
||||
<tr><td><input id="iFiles" name="files" type="file" multiple><td>
|
||||
<tr><td><input type="submit" name="createChecklist" value="<?= $this->getHtml('Create', 0, 0); ?>"><td>
|
||||
<tr><td><input type="submit" name="createChecklist" value="<?= $this->getHtml('Create', '0', '0'); ?>"><td>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -54,10 +54,10 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr><td><label for="iEPermission"><?= $this->getHtml('Permissions') ?></label><td>
|
||||
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button>
|
||||
<input type="text" id="iEPermission" name="ePermission"></span>
|
||||
<td><button data-action=""><?= $this->getHtml('Add', 0, 0); ?></button>
|
||||
<td><button data-action=""><?= $this->getHtml('Add', '0', '0'); ?></button>
|
||||
<tr><td><label for="iEFiles"><?= $this->getHtml('Files') ?></label><td>
|
||||
<tr><td><input id="iEFiles" name="eFiles" type="file" multiple><td>
|
||||
<tr><td><input type="submit" name="createChecklistElement" value="<?= $this->getHtml('Add', 0, 0); ?>" data-action=""><td>
|
||||
<tr><td><input type="submit" name="createChecklistElement" value="<?= $this->getHtml('Add', '0', '0'); ?>" data-action=""><td>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<caption><?= $this->getHtml('Templates') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||
<td><?= $this->getHtml('Status') ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Name') ?>
|
||||
<td><?= $this->getHtml('Creator') ?>
|
||||
|
|
@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php endforeach; ?>
|
||||
<?php if ($c === 0) : ?>
|
||||
<tr>
|
||||
<td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<td colspan="5" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user