clear and reindex code
get asistencias for ajax

fix route to restapi for asistencias.
getdata for ajax and show in debug console