|
@@ -1142,21 +1142,21 @@ if workFabrika = 1 and week => 1 and week <= 5 and hour > 8 and age => 16 and ag
|
|
|
end
|
|
|
|
|
|
if hotelRoom['pav_hotel'] > 0:
|
|
|
- if hotelRoomDays['pav_hotel'] = daystart:
|
|
|
+ if hotelRoomDays['pav_hotel'] - 1 = daystart:
|
|
|
$stat_msg += '<BR>You have 1 night left on your pav hotel booking.'
|
|
|
- elseif hotelRoomDays['pav_hotel'] + 1 = daystart and hour < 11:
|
|
|
+ elseif hotelRoomDays['pav_hotel'] = daystart and hour < 11:
|
|
|
$stat_msg += '<BR>Your room at the Pavlosk hotel has check out today at 11:00'
|
|
|
- elseif hotelRoomDays['pav_hotel'] < daystart:
|
|
|
+ elseif hotelRoomDays['pav_hotel'] = daystart:
|
|
|
hotelRoom['pav_hotel'] = 0
|
|
|
end
|
|
|
end
|
|
|
|
|
|
if hotelRoom['city_hotel'] > 0:
|
|
|
- if hotelRoomDays['city_hotel'] = daystart:
|
|
|
+ if hotelRoomDays['city_hotel'] - 1 = daystart:
|
|
|
$stat_msg += '<BR>You have 1 night left on your pav hotel booking.'
|
|
|
- elseif hotelRoomDays['city_hotel'] + 1 = daystart and hour < 11:
|
|
|
+ elseif hotelRoomDays['city_hotel'] = daystart and hour < 11:
|
|
|
$stat_msg += '<BR>Your room at the St Petersburg hotel has check out today at 11:00'
|
|
|
- elseif hotelRoomDays['city_hotel'] < daystart:
|
|
|
+ elseif hotelRoomDays['city_hotel'] = daystart:
|
|
|
hotelRoom['city_hotel'] = 0
|
|
|
end
|
|
|
end
|