diff --git a/src/resources/views/crud/list.blade.php b/src/resources/views/crud/list.blade.php index 4339aa8405..ca364d4a0a 100644 --- a/src/resources/views/crud/list.blade.php +++ b/src/resources/views/crud/list.blade.php @@ -65,6 +65,13 @@ class="{{ backpack_theme_config('classes.table') ?? 'table table-striped table-h {{-- Table columns --}} @foreach ($crud->columns() as $column) + @php + $exportOnlyColumn = $column['exportOnlyColumn'] ?? false; + $visibleInTable = $column['visibleInTable'] ?? true; + $visibleInModal = $column['visibleInModal'] ?? true; + $visibleInExport = $column['visibleInExport'] ?? true; + $forceExport = $column['forceExport'] ?? (isset($column['exportOnlyColumn']) ? true : false); + @endphp {{-- Bulk checkbox --}}