refator cutomer#transactions