
<tr style="line-height: 5px;" class="set-font-family">
    <td style="vertical-align:top" colspan="2">
        <span class="casetitle">FINDINGS: </span>
    </td>
</tr>
<tr class="lh-6 ">
    <td colspan="2">
        <table border="0" width="100%" id="findding">
            @php
                $mainpart = $casedata->mainpart ?? [];

                if (is_string($mainpart)) {
                    $mainpart = [$mainpart];
                }
            @endphp

            @foreach($mainpart as $key => $value)
                @if($value != null && $value != '')
                    <tr style="line-height:8px;">
                        <td>
                            <span class="findtitle">{{$key}}:</span>
                        </td>
                        <td colspan="2">
                            <span class="findtext">
                                {{$value}}
                            </span>
                        </td>
                    </tr>
                @endif
            @endforeach
        </table>

    </td>
</tr>


@if (@$casedata->overall_finding !='' && @$casedata->overall_finding !=null)
    <tr class=" set-font-family" style="line-height:{{ $body_line }};">
        <td colspan="2">
            {{-- <span class="casetitle">FINDING: &nbsp;</span> --}}
            <span class="findtext">{!!nl2br(htmlspecialchars(@$casedata->overall_finding))!!}</span>
        </td>
    </tr>
@endif





