fix create pdf only for confirmed products