I ended up fixing it throughout the app (about 4 locations) but removed State/County from the receipt, partly because I don't think it matters too much there but also because I didn't want to get into either hacking the embedded sql to join on the State table or write myself a custom XSLT extension to do the lookup.
By the way, if you need to lookup the state name based on the abbrev, you can do it minimally with a method like this:
Code:
public static string GetStateNameForAbbrev(string stateAbbrev)
{
string stateName = String.Empty;
if (!string.IsNullOrEmpty(stateAbbrev) && stateAbbrev != "--")
{
int stateID = AppLogic.GetStateID(stateAbbrev);
if (stateID > 0)
{
stateName = AppLogic.GetStateName(stateID);
}
}
return stateName;
}