SPECIMEN :
@php
$checkhistopathology =0;
@endphp
{{-- @dd($json->histopathology) --}}
@if((isset($json->specimen_na)&& @$json->histopathology=="[]") || !isset($json->histopathology))
{{-- @if($json->specimen_na!=null) --}}
@if(@$json->histopathology_volumn==0 && !isset($json->histopathology_volumn) && !isset($json->histopathology_other))
N/A
@endif
{{-- @endif --}}
@endif
@if(isset($json->histopathology_volumn) && @$json->histopathology!="[]")
@if(isset($json->histopathology))
@php
$json_histopathology = jsonDecode($json->histopathology);
// dd($json_histopathology);
@endphp
@foreach ($json_histopathology as $jsh)
{{$jsh}}
@endforeach
@endif
@endif
@if(isset($json->histopathology_volumn))
@if($json->histopathology_volumn>0)
{{@$json->histopathology_volumn}} bottle
@endif
@endif
@if(isset($json->specimen_wfp))
@if(@$json->specimen_wfp!="[]")
- Pending
@endif
@endif
@if(@$json->histopathology_other!="")
{!!nl2br(@$json->histopathology_other)!!}
@endif
{{--
@if(mevalue($json,['histopathology','histopathology_other']))
@if(@$json->histopathology!="" && @$json->histopathology_other!="")
@php
$histo_val = jsonDecode(@$json->histopathology);
$checkhistopathology++;
@endphp
@foreach($histo_val as $hv)
{{$hv}}
@endforeach
- {{@$json->histopathology_other}}
@endif
@if(@$json->histopathology!="" && @$json->histopathology_other=="")
@php
$histo_val = jsonDecode(@$json->histopathology);
$checkhistopathology++;
@endphp
@foreach($histo_val as $hv)
{{$hv}}
@endforeach
@if($hv!="N/A")
{{@$json->histopathology_volumn}} bottle
@endif
@endif
@endif
@if(@$checkhistopathology==0)
N/A
@endif
--}}
|