@php $sno=1; @endphp @foreach($o_array as $val) @php $sno++;@endphp @endforeach
Srno Judgement/Orders
{{ $sno }} @if($val->other!='') {{ $val->other }} @else {{ $val->docdesc }} @endif
Srno Particulars of Document Page Date
JUDGMENT/ORDERS

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ac dui eu felis hendrerit lobortis. Phasellus elementum, nibh eget adipiscing porttitor, est diam sagittis orci, a ornare nisi quam elementum tortor. Proin interdum ante porta est convallis dapibus dictum in nibh. Aenean quis massa congue metus mollis fermentum eget et tellus. Aenean tincidunt, mauris ut dignissim lacinia, nisi urna consectetur sapien, nec eleifend orci eros id lectus.