@if ($hideEmptyPage || ($contacts->count() || request()->get('search', false))) @if (! $hideSummary) @endif @if ((! $hideSearchString) && (! $hideBulkAction)) @elseif ((! $hideSearchString) && $hideBulkAction) @elseif ($hideSearchString && (! $hideBulkAction)) @endif @if (! $hideBulkAction) @endif @stack('name_and_tax_number_th_start') @if ((! $hideName) || (! $hideTaxNumber)) @stack('name_th_start') @if (! $hideName) @endif @stack('name_th_end') @stack('tax_number_th_start') @if (! $hideTaxNumber) @endif @stack('tax_number_th_end') @endif @stack('name_and_tax_number_th_end') @stack('email_and_phone_th_start') @if ((! $hideEmail) || (! $hidePhone)) @stack('email_th_start') @if (! $hideEmail) @endif @stack('email_th_end') @stack('phone_th_start') @if (! $hidePhone) @endif @stack('phone_th_end') @endif @stack('email_and_phone_th_end') @stack('country_and_currency_code_th_start') @if ((! $hideCountry) || (! $hideCurrencyCode)) @stack('country_th_start') @if (! $hideCountry) @endif @stack('country_th_end') @stack('currency_code_th_start') @if (! $hideCurrencyCode) @endif @stack('currency_code_th_end') @endif @stack('country_and_currency_code_th_end') @stack('open_and_overdue_th_start') @if ((! $hideOpen) || (! $hideOverdue)) @stack('open_th_start') @if (! $hideOpen) {{ trans($textOpen) }} @endif @stack('open_th_end') @stack('overdue_th_start') @if (! $hideOverdue) {{ trans($textOverdue) }} @endif @stack('overdue_th_end') @endif @stack('open_and_overdue_th_end') @foreach($contacts as $item) @if (! $hideBulkAction) @endif @stack('name_and_tax_number_td_start') @if ((! $hideName) || (! $hideTaxNumber)) @stack('name_td_start') @if (! $hideName) @if ($showLogo) @if (is_object($item->logo)) @else @endif @endif @if (! $item->enabled) @endif @endif @stack('name_td_end') @stack('tax_number_td_start') @if (! $hideTaxNumber) @endif @stack('tax_number_td_end') @endif @stack('name_and_tax_number_td_end') @stack('email_and_phone_td_start') @if ((! $hideEmail) || (! $hidePhone)) @stack('email_td_start') @if (! $hideEmail) @if ($item->email) {{ $item->email }} @else @endif @endif @stack('email_td_end') @stack('phone_td_start') @if (! $hidePhone) {{ $item->phone }} @endif @stack('phone_td_end') @endif @stack('email_and_phone_td_end') @stack('country_and_currency_code_td_start') @if ((! $hideCountry) || (! $hideCurrencyCode)) @stack('country_td_start') @if (! $hideCountry) @endif @stack('country_td_end') @stack('currency_code_td_start') @if (! $hideCurrencyCode) @endif @stack('currency_code_td_end') @endif @stack('country_and_currency_code_td_end') @stack('open_and_overdue_td_start') @if ((! $hideOpen) || (! $hideOverdue)) @stack('open_td_start') @if (! $hideOpen) @if ($item->open) @else @endif @endif @stack('open_td_end') @stack('overdue_td_start') @if (! $hideOverdue) @if ($item->overdue) @else @endif @endif @stack('overdue_td_end') @endif @stack('open_and_overdue_td_end') @endforeach @else @endif