passing weekIndex from index to details