|
@@ -15,28 +15,30 @@ $points = [
|
|
|
];
|
|
|
?>
|
|
|
|
|
|
-<?php if(count($points)): ?>
|
|
|
+<?php if(!count($points)): ?>
|
|
|
<span>-</span>
|
|
|
<?php endif ?>
|
|
|
-
|
|
|
+<table class="table table-bordered table-sm mb-0">
|
|
|
<?php foreach ($points as $p): ?>
|
|
|
<?php $point = $p['point']; ?>
|
|
|
<?php if(!!$point): ?>
|
|
|
<?php $review = $point->lastChildReview; ?>
|
|
|
<?php if ($review && @($review->data)) $review->data = json_decode($review->data); ?>
|
|
|
-<div class="mb-2">
|
|
|
- <div class="d-flex align-items-baseline">
|
|
|
- <b><?= $p['name'] ?></b>
|
|
|
- </div>
|
|
|
- <?php if(!!$review): ?>
|
|
|
- <div class="pl-3 mt-1 d-flex align-items-baseline">
|
|
|
- <span class="text-secondary font-weight-bold mr-2">Subjective:</span>
|
|
|
- <div class="inline-html-container">
|
|
|
- <?php $review = $review->data; ?>
|
|
|
- <?php include(resource_path('views/app/patient/segment-templates/_child_review/exercise/' . $p['category'] . '/view-review.php')); ?>
|
|
|
+<tr>
|
|
|
+ <td style="max-width: 300px;"><b><?= $p['name'] ?></b></td>
|
|
|
+ <td>
|
|
|
+ <?php if(!!$review): ?>
|
|
|
+ <div class="pl-3 mt-1 d-flex align-items-baseline">
|
|
|
+ <span class="text-secondary font-weight-bold mr-2">Subjective:</span>
|
|
|
+ <div class="inline-html-container">
|
|
|
+ <?php $review = $review->data; ?>
|
|
|
+ <?php include(resource_path('views/app/patient/segment-templates/_child_review/exercise/' . $p['category'] . '/view-review.php')); ?>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <?php endif; ?>
|
|
|
-</div>
|
|
|
+ <?php endif; ?>
|
|
|
+ </td>
|
|
|
+
|
|
|
+</tr>
|
|
|
<?php endif; ?>
|
|
|
<?php endforeach; ?>
|
|
|
+</table>
|