Ajax save Avance

Include ajax function to save check of Avance