It is only when subsidiary sells goods to parent we deduct the unrealized profit from profit for the year of subsidiary and multiply with the NCI proportion.
But when parent company sells goods to subsidiary, we simply consider the subsidiary profit for the year and multiply with the NCI share.