ajax function getting customer tickets