Avantax, a Dallas-based financial planning and wealth management firm focused on tax, has entered into a definitive agreement to be acquired by Cetera Holdings, the holding company for Cetera Financial Group. The all-cash transaction values Avantax at about $1.2 billion. Here are the details behind the deal.