1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 16:13:20 +01:00
invoiceninja/resources/views/export/contacts.blade.php

38 lines
1.2 KiB
PHP
Raw Normal View History

2015-11-12 21:36:28 +01:00
<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>
2018-04-04 15:24:59 +02:00
@if ($account->customLabel('contact1'))
<td>{{ $account->present()->customLabel('contact1') }}</td>
2017-04-16 13:31:14 +02:00
@endif
2018-04-04 15:24:59 +02:00
@if ($account->customLabel('contact2'))
<td>{{ $account->present()->customLabel('contact2') }}</td>
2017-04-16 13:31:14 +02:00
@endif
2015-11-12 21:36:28 +01:00
</tr>
@foreach ($contacts as $contact)
2015-11-15 18:23:45 +01:00
@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>
2018-04-04 15:24:59 +02:00
@if ($account->customLabel('contact1'))
2017-04-16 13:31:14 +02:00
<td>{{ $contact->custom_value1 }}</td>
@endif
2018-04-04 15:24:59 +02:00
@if ($account->customLabel('contact2'))
2017-04-16 13:31:14 +02:00
<td>{{ $contact->custom_value2 }}</td>
@endif
2015-11-15 18:23:45 +01:00
</tr>
@endif
2015-11-12 21:36:28 +01:00
@endforeach