Our old customer service system has some brilliantly bad code in it, but I just had to share this one I spotted this morning. I think the guy got halfway through and forgot exactly what he was even meant to be fixing, let alone how to fix it.
'ISSUE 2862 ?
If CurrentUser.WorkingSession.Market.TaxInclusiveInCatPrice Then
'Me.lblTotalOutstanding.Text = String.Format("{0:c}", decOutstanding)
Else
'?
End If
Me.lblTotalOutstanding.Text = String.Format("{0:c}", decOutstanding)
I just wish we still had our old issue tracker to see what the mystical ISSUE 2862 is...
Phil