<tr class="set-font-family"style="line-height:{{$body_line}};">
    <td>
        <span class="casetitle">Boston Bowel Prep Score :</span>
        @isset($casedata->boston_score)
        @php
            $boston_status = $casedata->boston_score ?? "";
            $status_color = "";
            if($boston_status == "D" || $boston_status == "C"){
            $boston_status = "FAILURE";
            $status_color = "red";
            }elseif($boston_status == "A" || $boston_status == "B"){
            $boston_status = "SUCCESS";
            $status_color = "green";
            }
        @endphp
            <span class="casetext">{{@$casedata->boston_score}} (<span style="color: {{@$status_color}};">{{@$boston_status}}</span>)</span>
        @else
            &nbsp;<span class="casetext">-</span>
        @endisset
    </td>
</tr>
