View : 0020_RECOMMENDATION
@if(mevalue($json,['next_appoint','within','recommendation_other'])) RECOMMENDATION : @php $count_recomment = 1; @endphp @if(mevalue($json,['next_appoint','within','recommendation_other'])) Next appoint {{@$json->next_appoint}} within {{@$json->within}} @php $count_recomment++; @endphp {{@$json->recommendation_other}} @endif @if(mevalue($json,['recommendation_other'])) @if($count_recomment>1) @endif {{@$json->recommendation_other}} @endif @endif