@if($doc->id ) @endif @php $revisions = $doc->revisionHistory; @endphp