1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/resources/views/export/contacts.blade.php
2018-04-04 16:24:59 +03:00

38 lines
1.2 KiB
PHP

<tr>
<td>{{ trans('texts.client') }}</td>
@if ($multiUser)
<td>{{ trans('texts.user') }}</td>
@endif
<td>{{ trans('texts.first_name') }}</td>
<td>{{ trans('texts.last_name') }}</td>
<td>{{ trans('texts.email') }}</td>
<td>{{ trans('texts.phone') }}</td>
@if ($account->customLabel('contact1'))
<td>{{ $account->present()->customLabel('contact1') }}</td>
@endif
@if ($account->customLabel('contact2'))
<td>{{ $account->present()->customLabel('contact2') }}</td>
@endif
</tr>
@foreach ($contacts as $contact)
@if (!$contact->client->is_deleted)
<tr>
<td>{{ $contact->client->getDisplayName() }}</td>
@if ($multiUser)
<td>{{ $contact->user->getDisplayName() }}</td>
@endif
<td>{{ $contact->first_name }}</td>
<td>{{ $contact->last_name }}</td>
<td>{{ $contact->email }}</td>
<td>{{ $contact->phone }}</td>
@if ($account->customLabel('contact1'))
<td>{{ $contact->custom_value1 }}</td>
@endif
@if ($account->customLabel('contact2'))
<td>{{ $contact->custom_value2 }}</td>
@endif
</tr>
@endif
@endforeach