The Court of Appeal has held that paying bonuses to employees who worked night shifts did not constitute sex discrimination.