public function indexSSR(DataTableSearch $request): JsonResponse 	{ 		$transports = Transport::includes();  		$search = $request->search['value'] ?? null;  		return DataTables::eloquent($transports) 		->order(static function (object $query) use ($request): void { 			$order_array = $request->get('order') ?? []; 			$columns_array = $request->columns;  			if (filled($order_array)) { 				foreach (array_column($order_array, 'dir', 'column') as $column_index => $order_direction) { 					$query->orderBy($columns_array[$column_index]['name'], $order_direction); 				} 			} else { 				$query->customOrderBy(); 			} 		}) 		->filter(static function ($query) use ($search): void { 			if ($search) { 				$query->search($search); 			} 		}) 		->addColumn('author', static fn (Transport $row): string => $row->getAuthorName()) 		->addColumn('driver', static fn (Transport $row): string => $row->getDriverName()) 		->addColumn('vehicle', static fn (Transport $row): string => $row->getVehicleName()) 		->addColumn('departure', static fn (Transport $row): string => formatLocalTimestamp($row->departure)) 		->addColumn('edit', static fn (Transport $row): View => view('layouts.edit_button', ['path' => ['transports.edit' => $row->getKey()]])) 		->addColumn('created_at', static fn (Transport $row): string => '<td data-order="' . formatTimestamp($row->created_at, 'U') . '">' . formatLocalTimestamp($row->created_at) . '</td>') 		->addColumn('checkbox', static fn (Transport $row): View => view('layouts.option_buttons', ['value' => $row->getKey()])) 		->rawColumns([ 			'edit', 			'created_at', 			'checkbox', 		]) 		->toJson(); 	}