@foreach($contracts as $contract) @if(config('visibility.contracts_col_checkboxes')) @endif {{ runtimeContractIdFormat($contract->doc_id) }} {{ str_limit($contract->doc_title ?? '---', 20) }} @if(config('visibility.col_client')) {{ str_limit($contract->client_company_name ?? '---', 12) }} @endif @if(config('visibility.doc_date_start')) {{ runtimeDate($contract->doc_date_start) }} @endif {{ runtimeMoneyFormat($contract->doc_value) }} @if(config('visibility.col_doc_signed_status')) @if($contract->doc_signed_status == 'signed') @lang('lang.signed') @else @lang('lang.pending') @endif @endif @if(config('visibility.doc_provider_signed_status')) @if($contract->doc_provider_signed_status == 'signed') @lang('lang.signed') @else @lang('lang.pending') @endif @endif {{ runtimeLang($contract->doc_status) }} @if($contract->doc_publishing_type == 'scheduled' && $contract->doc_publishing_scheduled_status == 'pending') @endif @if(config('visibility.contracts_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