@if ($columns) @foreach($columns as $column) @php [$table, $columnName] = explode('.', $column); @endphp @if ($table == 'custom_fields') @php $parts = explode('.', $column); [$prefix, $entityType, $columnName] = $parts; @endphp @else @endif @endforeach @endif @foreach($data as $row) @if ($columns) @foreach($columns as $column) @php [$table, $columnName] = explode('.', $column); @endphp @if ($table == 'custom_fields') @php $parts = explode('.', $column); [$prefix, $entityType, $columnName] = $parts; @endphp @else @endif @endforeach @endif @endforeach
{{ __('general.report_columns.asset.title') }} {{ __('general.report_columns.asset.responsible') }} {{ __('general.report_columns.asset.stages.name') }}{{ $columnName }}{{ __('general.report_columns.asset.'. $table . '.' . $columnName) }}
{{ $row->title }} {{ $row->responsible_name }} {{ $row->stage_name }}{{ strip_tags($row->{$column}) ?? '' }}{{ strip_tags($row->{$table .'.'. $columnName}) ?? '' }}