@foreach($estimates as $estimate) @if(config('visibility.estimates_col_checkboxes')) @endif {{ $estimate->formatted_bill_estimateid }} @if(auth()->user()->is_team && $estimate->estimate_automation_status == 'enabled') @endif {{ runtimeDate($estimate->bill_date) }} @if(config('visibility.estimates_col_client')) {{ str_limit($estimate->client_company_name ?? '---', 30) }} @endif @if(config('visibility.estimates_col_created_by')) user {{ $estimate->first_name ?? runtimeUnkownUser() }} @endif {{ str_limit($estimate->category_name ?? '---', 20) }} @if(config('visibility.estimates_col_expires')) {{ runtimeDate($estimate->bill_expiry_date) }} @endif @if(config('visibility.estimates_col_tags')) @if(count($estimate->tags ?? []) > 0) {{ str_limit($estimate->tags->first()->tag_title, 15) }} @else --- @endif @if(count($estimate->tags ?? []) > 1) @php $tags = $estimate->tags; @endphp @include('misc.more-tags') @endif @endif {{ runtimeMoneyFormat($estimate->bill_final_amount) }} {{ runtimeLang($estimate->bill_status) }} @if($estimate->bill_publishing_type == 'scheduled' && $estimate->bill_publishing_scheduled_status == 'pending') @endif @if(config('system.settings_estimates_show_view_status') == 'yes' && auth()->user()->is_team && ($estimate->bill_status == 'new' || $estimate->bill_status == 'revised')) @if($estimate->bill_viewed_by_client == 'no') @endif @if($estimate->bill_viewed_by_client == 'yes') @endif @endif @if(config('visibility.estimates_col_action')) @if(config('visibility.action_buttons_delete')) @endif @if(config('visibility.action_buttons_edit')) @endif @if(config('visibility.action_buttons_edit') == 'show') @endif @endif @endforeach