mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-11 18:58:40 +00:00
Fix getHtml para type
This commit is contained in:
parent
c8541e7d94
commit
7b8d0c9052
|
|
@ -33,7 +33,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<option value="<?= $this->printHtml($key); ?>"><?= $this->printHtml($value->getName()); ?>
|
<option value="<?= $this->printHtml($key); ?>"><?= $this->printHtml($value->getName()); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><input type="submit" id="iReportCreateButton" name="reportCreateButton" value="<?= $this->getHtml('Create', 0, 0); ?>">
|
<tr><td><input type="submit" id="iReportCreateButton" name="reportCreateButton" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
$formPermissionAdd = new \Web\Views\Form\FormView($this->app, $this->request, $this->response);
|
$formPermissionAdd = new \Web\Views\Form\FormView($this->app, $this->request, $this->response);
|
||||||
$formPermissionAdd->setTemplate('/Web/Templates/Forms/FormFull');
|
$formPermissionAdd->setTemplate('/Web/Templates/Forms/FormFull');
|
||||||
$formPermissionAdd->setSubmit('submit1', $this->getHtml('Add', 0, 0));
|
$formPermissionAdd->setSubmit('submit1', $this->getHtml('Add', '0', '0'));
|
||||||
$formPermissionAdd->setAction($this->request->getUri()->getScheme() . '://' . $this->request->getUri()->getHost());
|
$formPermissionAdd->setAction($this->request->getUri()->getScheme() . '://' . $this->request->getUri()->getHost());
|
||||||
$formPermissionAdd->setMethod(\phpOMS\Message\Http\RequestMethod::POST);
|
$formPermissionAdd->setMethod(\phpOMS\Message\Http\RequestMethod::POST);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<caption><?= $this->getHtml('Reports') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
<caption><?= $this->getHtml('Reports') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||||
<td class="wf-100"><?= $this->getHtml('Name') ?>
|
<td class="wf-100"><?= $this->getHtml('Name') ?>
|
||||||
<td><?= $this->getHtml('Creator') ?>
|
<td><?= $this->getHtml('Creator') ?>
|
||||||
<td><?= $this->getHtml('Updated') ?>
|
<td><?= $this->getHtml('Updated') ?>
|
||||||
|
|
@ -42,12 +42,12 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php if (\count($templates) == 0) : ?>
|
<?php if (\count($templates) == 0) : ?>
|
||||||
<tr class="empty">
|
<tr class="empty">
|
||||||
<td colspan="4"><?= $this->getHtml('Empty', 0, 0); ?>
|
<td colspan="4"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php foreach ($templates as $key => $template) :
|
<?php foreach ($templates as $key => $template) :
|
||||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}helper/report/view?{?}&id=' . $template->getId()); ?>
|
$url = \phpOMS\Uri\UriFactory::build('{/prefix}helper/report/view?{?}&id=' . $template->getId()); ?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('ID', 0, 0) ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getId()); ?></a>
|
<td data-label="<?= $this->getHtml('ID', '0', '0') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getId()); ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getName()); ?></a>
|
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getName()); ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Creator') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getCreatedBy()->getName1()); ?></a>
|
<td data-label="<?= $this->getHtml('Creator') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getCreatedBy()->getName1()); ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Updated') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getCreatedAt()->format('Y-m-d')); ?></a>
|
<td data-label="<?= $this->getHtml('Updated') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($template->getCreatedAt()->format('Y-m-d')); ?></a>
|
||||||
|
|
|
||||||
|
|
@ -38,9 +38,9 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<tr><td>
|
<tr><td>
|
||||||
<div class="ipt-wrap">
|
<div class="ipt-wrap">
|
||||||
<div class="ipt-first"><input id="iExpected" type="text" placeholder=" file.csv"><input name="expected" type="hidden"></div>
|
<div class="ipt-first"><input id="iExpected" type="text" placeholder=" file.csv"><input name="expected" type="hidden"></div>
|
||||||
<div class="ipt-second"><button><?= $this->getHtml('Add', 0, 0); ?></button></div>
|
<div class="ipt-second"><button><?= $this->getHtml('Add', '0', '0'); ?></button></div>
|
||||||
</div>
|
</div>
|
||||||
<tr><td><input type="submit" id="iReportTemplateCreateButton" name="reportTemplateCreateButton" value="<?= $this->getHtml('Create', 0, 0); ?>">
|
<tr><td><input type="submit" id="iReportTemplateCreateButton" name="reportTemplateCreateButton" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user