|
@@ -23,7 +23,6 @@ if(!$dxContentData) {
|
|
|
if(count($dxContentData['items'])) {
|
|
|
for ($i = 0; $i < count($dxContentData['items']); $i++) {
|
|
|
$item = $dxContentData['items'][$i];
|
|
|
-
|
|
|
?>
|
|
|
<div class="mb-2 <?= @$item["included"] ? '' : 'hide-if-note' ?>">
|
|
|
<div class="">
|
|
@@ -31,13 +30,21 @@ if(count($dxContentData['items'])) {
|
|
|
<?= isset($item["icd"]) ? '/ ' . $item["icd"] : '' ?>
|
|
|
<?= isset($item["coa"]) ? '/ ' . $item["coa"] : '' ?>
|
|
|
</div>
|
|
|
- <?php if(isset($item["detail"]) && !empty($item["detail"])): ?>
|
|
|
+ <?php
|
|
|
+ $detailPlain = isset($item["detail"]) ? $item["detail"] : '';
|
|
|
+ $detailPlain = trim(strip_tags($detailPlain));
|
|
|
+ if(!empty($detailPlain)):
|
|
|
+ ?>
|
|
|
<div class="text-secondary font-weight-bold">Detail</div>
|
|
|
- <div class="ml-2"><?= $item["detail"] ?></div>
|
|
|
+ <div class="ml-2"><?= $detailPlain ?></div>
|
|
|
<?php endif; ?>
|
|
|
- <?php if(isset($item["plan"]) && !empty($item["plan"])): ?>
|
|
|
+ <?php
|
|
|
+ $planPlain = isset($item["plan"]) ? $item["plan"] : '';
|
|
|
+ $planPlain = trim(strip_tags($planPlain));
|
|
|
+ if(!empty($planPlain)):
|
|
|
+ ?>
|
|
|
<div class="text-secondary font-weight-bold">Plan</div>
|
|
|
- <div class="ml-2"><?= $item["plan"] ?></div>
|
|
|
+ <div class="ml-2"><?= $planPlain ?></div>
|
|
|
<?php endif; ?>
|
|
|
</div>
|
|
|
<?php
|