Fixed loading of revenues when editing dates.
Added vacation buffer support and pay editing.