saleOrder view, refactor all enum