Guestlogix / traveler-ios

4 stars 3 forks source link

Partner Offerings bug #363

Closed OmarPadierna closed 4 years ago

OmarPadierna commented 4 years ago

Description

In the original implementation of partner offerings I forgot to duplicate the offering everytime the stepper changed its value. Back end expects the offering ids to be duplicated based on the number of combos selected.

Issues that should be CLOSED by merge of this PR:

Related issues that should be LINKED to this PR:

OmarPadierna commented 4 years ago

I added an extra modification which is to dismiss the view if the order creation fails. This requirement came from design and it was meant to avoid having the user constantly requesting unavailable items without extra feedback. By dismissing the flow they're forced to go through the flow again this time with updated quantities and offerings.