getparkingticket logic