mirror of
https://github.com/Karaka-Management/oms-QualityManagement.git
synced 2026-02-14 20:48:40 +00:00
fix tests
This commit is contained in:
parent
7cfe63e7e6
commit
e52ba893e9
|
|
@ -105,9 +105,7 @@ final class ApiController extends Controller
|
||||||
$task->type = TaskType::HIDDEN;
|
$task->type = TaskType::HIDDEN;
|
||||||
$task->unit ??= $this->app->unitId;
|
$task->unit ??= $this->app->unitId;
|
||||||
|
|
||||||
$report = new Report($task);
|
return new Report($task);
|
||||||
|
|
||||||
return $report;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -37,17 +37,17 @@ echo $this->data['nav']->render(); ?>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="iBill"><?= $this->getHtml('Bill'); ?></label>
|
<label for="iBill"><?= $this->getHtml('Bill'); ?></label>
|
||||||
<input type="text" id="iBill" name="bill" form="fTask"<?= !$isNew ? ' disabled' : ''; ?>>
|
<input type="text" id="iBill" name="bill" form="fTask"<?= $isNew ? '' : ' disabled'; ?>>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="iItem"><?= $this->getHtml('Item'); ?></label>
|
<label for="iItem"><?= $this->getHtml('Item'); ?></label>
|
||||||
<input type="text" id="iItem" name="item" form="fTask"<?= !$isNew ? ' disabled' : ''; ?>>
|
<input type="text" id="iItem" name="item" form="fTask"<?= $isNew ? '' : ' disabled'; ?>>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="iLotSN"><?= $this->getHtml('LotSN'); ?></label>
|
<label for="iLotSN"><?= $this->getHtml('LotSN'); ?></label>
|
||||||
<input type="text" id="iLotSN" name="lot" form="fTask"<?= !$isNew ? ' disabled' : ''; ?>>
|
<input type="text" id="iLotSN" name="lot" form="fTask"<?= $isNew ? '' : ' disabled'; ?>>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user