@foreach($patients as $patient) @endforeach
id Branch Code Name ID No Nationality Gender DOB Country code Phone Email Password Address Contract Company Insurance card ID Insurance expiration date Copayment Relative to Kinship type
{{ $patient['id'] }} {{ (isset($patient['branch']))?$patient['branch']['name_'.app()->getLocale()]:'' }} {{ $patient['code'] }} {{ $patient['name'] }} {{ $patient['passport_no'] }} {{ (isset($patient['country']))? $patient['country']['name_'.app()->getLocale()]:'' }} {{ $patient['gender'] }} {{ date('Y-m-d',strtotime($patient['dob'])) }} {{ (string) (isset($patient['phone_country']))?$patient['phone_country']['code']:'' }} {{ (string) $patient['phone'] }} {{ $patient['email'] }} {{ $patient['address'] }} {{ (isset($patient['contract']))?$patient['contract']['name']:'' }} {{ (isset($patient['company']))?$patient['company']['name']:'' }} {{ $patient['insurance_card_id'] }} {{ $patient['insurance_card_expiration_date'] }} {{ $patient['copayment'] }} {{ (isset($patient['parent']))?$patient['parent']['name']:'' }} {{ $patient['kinship_type'] }}