|
|
@ -62,7 +62,7 @@ class ParkingAccessRecordExport implements FromArray, WithHeadings |
|
|
$parents['parking_space_type'] |
|
|
$parents['parking_space_type'] |
|
|
)->pluck('id'); |
|
|
)->pluck('id'); |
|
|
if ($space_ids) { |
|
|
if ($space_ids) { |
|
|
$query->where('space_id', $space_ids); |
|
|
$query->whereIn('space_id', $space_ids); |
|
|
} else { |
|
|
} else { |
|
|
$query->where('id', 0); |
|
|
$query->where('id', 0); |
|
|
} |
|
|
} |
|
|
@ -75,7 +75,7 @@ class ParkingAccessRecordExport implements FromArray, WithHeadings |
|
|
$parents['parking_space_attr'] |
|
|
$parents['parking_space_attr'] |
|
|
)->pluck('id'); |
|
|
)->pluck('id'); |
|
|
if ($space_ids) { |
|
|
if ($space_ids) { |
|
|
$query->where('space_id', $space_ids); |
|
|
$query->whereIn('space_id', $space_ids); |
|
|
} else { |
|
|
} else { |
|
|
$query->where('id', 0); |
|
|
$query->where('id', 0); |
|
|
} |
|
|
} |
|
|
|