Amount cell has LIMIT and Edit accept past date

Changed so amount entered accepts max 7 chars.
Changed so when editing an already existing item, a date in the past is
also accepted!