forFriends / travel

for bugs
0 stars 0 forks source link

Wrong calculations of Lodging. #46

Open karharadon opened 8 years ago

karharadon commented 8 years ago

Summary: When I create trip, enable lodging, updating dates, system shows me wrong calculations. Environment: web Steps to reproduse:

  1. Login as any user.
  2. Start to create trip with ane cities and dates.
  3. Click next.
  4. Enable block "Lodging".
  5. Change dates/city.
  6. Click refresh.
  7. Repeat with another data. ikyjuhgtf poljuhygt olikujhgf fghjk Actual result: system makes wrong calculations after updating. Expected result: system calculates new data without mistakes.
okryvorotko commented 8 years ago

Unable too repro on IOS and Chrome. Can you please specify more detailed steps?

karharadon commented 8 years ago
  1. Trip with data: 1 Click next.
  2. Enable "Lodging". Look at dates. 2
  3. Change the second date that difference between dates become 2 days. Click "Refresh" in current block. Look at new prices. 3
okryvorotko commented 8 years ago

Bug #758

karharadon commented 7 years ago

when we change date we have some calculations before refreshing, and they are wrong. before refreshing: unnamed 11 after: unnamed 10

karharadon commented 7 years ago

unnamed 12 Also can use any invalid city and program will calculate them as correct.