@if(isset($query->customer)) {{ optional($query->customer)->display_name }} {{ optional($query->customer)->email ?? '--' }} @else