added conditional formatting to customer history screen