The Court insisted that such an agreement was not applicable. These reasons, as well as the protection offered by a letter in the event of a dispute, as well as compliance with ethical requirements, require a written agreement. The requirement for a written representation agreement is not limited to litigation, but also applies to transaction matters. Sections 6147 and 6148 of the Trades and Professions Code and the provisions of the California Rules of Professional Conduct not only require written undertaking agreements, but also dictate their content. Section 6147 states that representing a client on the basis of a success fee is reflected in a written agreement signed by the client and the lawyer. . . .