Added saving Remarks to workorder and to rimo in Preorder
This commit is contained in:
@@ -425,6 +425,20 @@
|
||||
<th>Erstellt</th>
|
||||
<td class="text-monospace"><?=date("d.m.Y H:i:s", $wo->create)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Bemerkung</th>
|
||||
<td id="wo-remark-<?=$preorder->id?>-<?=$wo->id?>">
|
||||
<div class="input-group mb-2">
|
||||
<input type="text" class="form-control" name="new_remark" placeholder="Bemerkung hinzufügen" />
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-primary" type="button" id="button-addon2" onclick="saveRemark(<?=$preorder->id?>, <?=$wo->id?>)">Hinzufügen</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="remark-text border p-1 text-monospace" id="preorder-detail-<?=$preorder->id?>-workorder-<?=$wo->id?>-remarks">
|
||||
<?=nl2br(htmlentities($wo->remarks))?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php endforeach; ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user