CUSTOMER DETAILS : NAME : {{$cust_obj[0]->cust_name}} Address : {{$cust_obj[0]->pr_address}} @if(!empty($cust_obj[0]->email)) Email : {{$cust_obj[0]->email}} @endif @if(!empty($cust_obj[0]->mobile)) Mobile : {{$cust_obj[0]->mobile}} @endif