Hi guys,
I'm in the analisys phase of a new application, a reservation system for the travel industry (SQL Server as db), and I need your suggestions on what would be the most efficient approach to the following situation :
Tipically, most services related to leisure travel have different prices depending on the season / period of the year. For example an Hotel Room would cost, let's say, 55 $ a night from April 1 to June 30 and 60 $ a night from July 1 to September 30.
Being this the case, I could come up with a client who needs the room in a period that crosses the two prices (June 27 to July 3) and I should be able to give the correct price calculating 4 nights @ 55 $ and 2 nights @ 60 $.
Any suggestion on how to efficiently manage this scenario will be greatly appreciated !!
Thanks - PG
I'm in the analisys phase of a new application, a reservation system for the travel industry (SQL Server as db), and I need your suggestions on what would be the most efficient approach to the following situation :
Tipically, most services related to leisure travel have different prices depending on the season / period of the year. For example an Hotel Room would cost, let's say, 55 $ a night from April 1 to June 30 and 60 $ a night from July 1 to September 30.
Being this the case, I could come up with a client who needs the room in a period that crosses the two prices (June 27 to July 3) and I should be able to give the correct price calculating 4 nights @ 55 $ and 2 nights @ 60 $.
Any suggestion on how to efficiently manage this scenario will be greatly appreciated !!
Thanks - PG