@extends('admin.layouts.master') @section('content')

{{ trans('app.preview') }}

@can('create', \App\Models\Customer::class) {{ trans('app.bulk_import') }} @endcan
@foreach ($rows as $row) @continue(!$row['email']) @endforeach
{{ trans('app.image') }} {{ trans('app.name') }} {{ trans('app.email') }} {{ trans('app.description') }} {{ trans('app.sex') }} {{ trans('app.dob') }} {{ trans('app.addresses') }} {{ trans('app.accepts_marketing') }} {{ trans('app.active') }}
{{ $row['full_name'] }}
{{ trans('app.nice_name') }}: {{ $row['nice_name'] }}
{{ $row['email'] }} {{ $row['description'] }} {{ ucfirst($row['sex']) }} {{ $row['dob'] }} @if ($row['primary_address_line_1'])
{{ trans('app.primary_address') }}:
{{ $row['primary_address_line_1'] }}
{!! $row['primary_address_line_2'] ? $row['primary_address_line_2'] . '
' : '' !!} {{ $row['primary_address_city'] . ' ' . $row['primary_address_zip_code'] }}
{{ $row['primary_address_state_name'] }}
{{ $row['primary_address_country_code'] }}
@if ($row['primary_address_phone']) {{ trans('app.phone') }}: {{ $row['primary_address_phone'] }}
@endif
@endif @if ($row['billing_address_line_1'])
{{ trans('app.billing_address') }}:
{{ $row['billing_address_line_1'] }}
{!! $row['billing_address_line_2'] ? $row['billing_address_line_2'] . '
' : '' !!} {{ $row['billing_address_city'] . ' ' . $row['billing_address_zip_code'] }}
{{ $row['billing_address_state_name'] }}
{{ $row['billing_address_country_code'] }}
@if ($row['billing_address_phone']) {{ trans('app.phone') }}: {{ $row['billing_address_phone'] }}
@endif
@endif @if ($row['shipping_address_line_1'])
{{ trans('app.shipping_address') }}:
{{ $row['shipping_address_line_1'] }}
{!! $row['shipping_address_line_2'] ? $row['shipping_address_line_2'] . '
' : '' !!} {{ $row['shipping_address_city'] . ' ' . $row['shipping_address_zip_code'] }}
{{ $row['shipping_address_state_name'] }}
{{ $row['shipping_address_country_code'] }}
@if ($row['shipping_address_phone']) {{ trans('app.phone') }}: {{ $row['shipping_address_phone'] }}
@endif
@endif
@endsection