@extends('layout.layout') @section('header') @endsection @section('content')
ข้อมูลส่วนบุคคล
ข้อมูลส่วนบุคคล
@foreach ($dataEvents as $dataEvent) @if ($dataEvent['consent'] == 'on') @else @endif @endforeach
Email Name Surname Phone Date Of Birth Gender Province Consent Consent At
{!! nl2br($dataEvent['email']) ?? ' - '!!} {!! nl2br($dataEvent['name']) ?? ' - '!!} {!! nl2br($dataEvent['surname']) ?? ' - '!!} {!! nl2br($dataEvent['phone']) ?? ' - '!!} @if ($dataEvent['date_of_birth']) {{ \Carbon\Carbon::parse($dataEvent['date_of_birth'])->format('Y-m-d') }} @else 0000-00-00 @endif @if ($dataEvent['gender'] == 'male') Male @elseif ($dataEvent['purchased_shop'] == 'female') Female @elseif ($dataEvent['purchased_shop'] == 'unspecified') Unspecified @else - @endif {!! nl2br($dataEvent['province']) ?? ' - '!!}CheckedUncheck @if ($dataEvent['created_at']) {{ \Carbon\Carbon::parse($dataEvent['created_at'])->format('Y-m-d H:i:s') }} @else 0000-00-00 00:00:00 @endif
@endsection @section('script') @endsection