added date_accrued_end and updated models to reference the end date for calculations