Petra Foods, the Singapore-based confectioner, has pointed to the slowdown in Indonesia, its largest market, after profits fell in the first half of the year.