erd payroll and sales management system