mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for vendor contact export
This commit is contained in:
parent
767d4d148a
commit
dab6053435
@ -50,9 +50,9 @@
|
|||||||
@include('export.vendors')
|
@include('export.vendors')
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (isset($vendors_contacts) && $vendors_contacts && count($vendors_contacts))
|
@if (isset($vendor_contacts) && $vendor_contacts && count($vendor_contacts))
|
||||||
<tr><td>{{ strtoupper(trans('texts.vendors_contacts')) }}</td></tr>
|
<tr><td>{{ strtoupper(trans('texts.vendor_contacts')) }}</td></tr>
|
||||||
@include('export.vendors_contacts')
|
@include('export.vendor_contacts')
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -10,16 +10,16 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@foreach ($vendor_contacts as $contact)
|
@foreach ($vendor_contacts as $contact)
|
||||||
@if (!$vendor_contact->vendor->is_deleted)
|
@if (!$contact->vendor->is_deleted)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $vendor_contact->vendor->getDisplayName() }}</td>
|
<td>{{ $contact->vendor->getDisplayName() }}</td>
|
||||||
@if ($multiUser)
|
@if ($multiUser)
|
||||||
<td>{{ $vendor_contact->user->getDisplayName() }}</td>
|
<td>{{ $contact->user->getDisplayName() }}</td>
|
||||||
@endif
|
@endif
|
||||||
<td>{{ $vendor_contact->first_name }}</td>
|
<td>{{ $contact->first_name }}</td>
|
||||||
<td>{{ $vendor_contact->last_name }}</td>
|
<td>{{ $contact->last_name }}</td>
|
||||||
<td>{{ $vendor_contact->email }}</td>
|
<td>{{ $contact->email }}</td>
|
||||||
<td>{{ $vendor_contact->phone }}</td>
|
<td>{{ $contact->phone }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
|
Loading…
x
Reference in New Issue
Block a user