added purchase and sales tab