@foreach($laboratories as $laboratory) @endforeach
id Name Price list Discount percentage Sample collector Country code Phone Email Password Address Note
{{ $laboratory['id'] }} {{ $laboratory['name'] }} {{ (isset($laboratory['price_list']))? $laboratory['price_list']['name']:'' }} {{ $laboratory['discount_percentage'] }} {{ (isset($laboratory['sample_collector']))? $laboratory['sample_collector']['name']:'' }} {{ (isset($laboratory['phone_country']))? (string) $laboratory['phone_country']['code']:'' }} {{ (string) $laboratory['phone'] }} {{ $laboratory['email'] }} {{ $laboratory['address'] }} {{ $laboratory['note'] }}