In some cases ticket sales may not be tax-deductible. Ticket sales should have a separate receipt from the donation receipt.
If a form supports both ticket sales as well as a donation, then a separate transaction receipt should be issued for the ticket sales.
The tax receipt for the donation should exclude the ticket sales.