refactor editableCellDetails to handle transaction type changes and use the attributes service