|
@@ -31,7 +31,7 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
-<div visit-moe no-auto-save close-on-save close-on-cancel class="d-block p-3" id="typical_day_lifestyle-{{$note->id}}">
|
|
|
+<div visit-moe no-auto-save close-on-save close-on-cancel class="d-block" id="typical_day_lifestyle-{{$note->id}}">
|
|
|
<form show url="/api/visitPoint/upsertChildReview" class="mcp-theme-1 frm-upsert-review-typical-day-ls">
|
|
|
<input type="hidden" name="uid" value="<?= $point->uid ?>">
|
|
|
<input type="hidden" name="noteUid" value="<?= $note->uid ?>">
|
|
@@ -41,21 +41,11 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
|
|
|
<p class="mb-2 font-weight-bold">Typical Day</p>
|
|
|
|
|
|
<table class="table table-sm table-bordered mb-2 stag-sheet allow-row-addition mb-3" lines>
|
|
|
- <thead class="bg-light">
|
|
|
- <tr>
|
|
|
- <th class="border-bottom-0 text-secondary width-30px"></th>
|
|
|
- <th class="border-bottom-0 text-secondary">Subjective</th>
|
|
|
- <th class="border-bottom-0 text-secondary width-100px">Impression</th>
|
|
|
- <th class="border-bottom-0 text-secondary w-50">Plan</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
<tbody>
|
|
|
@foreach(@$contentData["lines"] as $line)
|
|
|
<tr>
|
|
|
- <td class="align-middle text-center bg-light"><a href="#" class="delete-line"><i class="fa fa-trash-alt on-hover-opaque text-danger"></i></a></td>
|
|
|
+ <td class="align-middle text-center bg-light width-30px"><a href="#" class="delete-line"><i class="fa fa-trash-alt on-hover-opaque text-danger"></i></a></td>
|
|
|
<td><textarea rows="1" key="S">{{@$line['S']}}</textarea></td>
|
|
|
- <td><textarea rows="1" key="I">{{@$line['I']}}</textarea></td>
|
|
|
- <td><textarea rows="1" key="P">{{@$line['P']}}</textarea></td>
|
|
|
</tr>
|
|
|
@endforeach
|
|
|
</tbody>
|
|
@@ -139,9 +129,7 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
|
|
|
|
|
|
function newRow() {
|
|
|
return $('<tr><td class="align-middle text-center bg-light"><a href="#" class="delete-line"><i class="fa fa-trash-alt on-hover-opaque text-danger"></i></a></td>' +
|
|
|
- '<td><textarea rows="1" key="S"></textarea></td>' +
|
|
|
- '<td><textarea rows="1" key="I"></textarea></td>' +
|
|
|
- '<td><textarea rows="1" key="P"></textarea></td></tr>');
|
|
|
+ '<td><textarea rows="1" key="S"></textarea></td></tr>');
|
|
|
}
|
|
|
|
|
|
function createAndMoveToNextRowInput(_td) {
|