add AC / AS invoice templates and add loading image to invoice generate