given_referer doesn't need to have custom processing. Consolidated logic that prevents editing an invoiced entry.