ajax to reports