{{ trans('texts.name') }}
@if ($multiUser)
{{ trans('texts.user') }}
@endif
{{ trans('texts.balance') }}
{{ trans('texts.paid_to_date') }}
{{ trans('texts.billing_address1') }}
{{ trans('texts.billing_address2') }}
{{ trans('texts.billing_city') }}
{{ trans('texts.billing_state') }}
{{ trans('texts.billing_postal_code') }}
{{ trans('texts.billing_country') }}
{{ trans('texts.shipping_address1') }}
{{ trans('texts.shipping_address2') }}
{{ trans('texts.shipping_city') }}
{{ trans('texts.shipping_state') }}
{{ trans('texts.shipping_postal_code') }}
{{ trans('texts.shipping_country') }}
{{ trans('texts.id_number') }}
{{ trans('texts.vat_number') }}
{{ trans('texts.website') }}
{{ trans('texts.work_phone') }}
{{ trans('texts.currency') }}
{{ trans('texts.public_notes') }}
{{ trans('texts.private_notes') }}
@if ($account->customLabel('client1'))
{{ $account->present()->customLabel('client1') }}
@endif
@if ($account->customLabel('client2'))
{{ $account->present()->customLabel('client2') }}
@endif
@if ($account->hasReminders())
{{ trans('texts.reminders') }}
@endif
{{ trans('texts.first_name') }}
{{ trans('texts.last_name') }}
{{ trans('texts.email') }}
{{ trans('texts.phone') }}
@if ($account->customLabel('contact1'))
{{ $account->present()->customLabel('contact1') }}
@endif
@if ($account->customLabel('contact2'))
{{ $account->present()->customLabel('contact2') }}
@endif
@foreach ($clients as $client)
{{ $client->getDisplayName() }}
@if ($multiUser)
{{ $client->user->getDisplayName() }}
@endif
{{ $account->formatMoney($client->balance, $client) }}
{{ $account->formatMoney($client->paid_to_date, $client) }}
{{ $client->address1 }}
{{ $client->address2 }}
{{ $client->city }}
{{ $client->state }}
{{ $client->postal_code }}
{{ $client->present()->country }}
{{ $client->shipping_address1 }}
{{ $client->shipping_address2 }}
{{ $client->shipping_city }}
{{ $client->shipping_state }}
{{ $client->shipping_postal_code }}
{{ $client->present()->shipping_country }}
{{ $client->id_number }}
{{ $client->vat_number }}
{{ $client->website }}
{{ $client->work_phone }}
{{ $client->currency ? $client->currency->code : '' }}
{{ $client->public_notes }}
{{ $client->private_notes }}
@if ($account->customLabel('client1'))
{{ $client->custom_value1 }}
@endif
@if ($account->customLabel('client2'))
{{ $client->custom_value2 }}
@endif
@if ($account->hasReminders())
{{ $client->send_reminders ? trans('texts.yes') : trans('texts.no') }}
@endif
{{ $client->contacts[0]->first_name }}
{{ $client->contacts[0]->last_name }}
{{ $client->contacts[0]->email }}
{{ $client->contacts[0]->phone }}
@if ($account->customLabel('contact1'))
{{ $client->contacts[0]->custom_value1 }}
@endif
@if ($account->customLabel('contact2'))
{{ $client->contacts[0]->custom_value2 }}
@endif
@endforeach