mirror of
https://github.com/Karaka-Management/oms-QualityManagement.git
synced 2026-01-27 12:38: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->unit ??= $this->app->unitId;
|
||||
|
||||
$report = new Report($task);
|
||||
|
||||
return $report;
|
||||
return new Report($task);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -37,17 +37,17 @@ echo $this->data['nav']->render(); ?>
|
|||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<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 class="form-group">
|
||||
<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 class="form-group">
|
||||
<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>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user