Respondent, as attorney for plaintiffs, commenced the above-entitled action to recover from defendant, damages for personal injuries alleged to have been received by plaintiff Marion Tracy because of defendant’s negligent operation of his automobile. After the ease was at issue but before it had been set for trial. Marion Tracy, upon notice to the defendant and the respondent, moved the court for an order substituting another attorney in place of respondent upon the ground, supported by her affidavit, that he had refused her request for such substitution. In reply, by affidavit, respondent stated plaintiffs had employed him under an agreement to pay, for his services, a percentage of all monies recovered and that to date he had performed specified services and prayed that the court, in accordance with section 284 of the Code of Civil Procedure, determine the amount and terms of payment of the fee or compensation to be paid him by plaintiffs upon an order of substitution. In a counteraffidavit Marion Tracy differed as to the services performed, denied any agreement as to respondent’s fee and particularly that he was to receive any percentage of the recovery but, inconsistently, prayed the court to fix a proportionate amount of the recovery to be paid respondent, when collected. After a hearing upon the affidavits, the court found that the fees to be paid respondent for his services were contingent upon the recovery of money by plain *147 tiffs in the action and that the sum of $100 was a reasonable fee to be paid respondent for his services rendered to plaintiffs in the action. Its order awarded this sum to respondent as his compensation for such services, payable forthwith, ordered the substitution of attorneys upon its payment by plaintiffs to respondent, and directed entry of judgment in favor of respondent and against plaintiffs in this amount. Marion Tracy appeals from the order, which she correctly denominates a judgment.
Appellant contends that the order exceeded the authority conferred by said section 284, in that it awarded a cash fee, payable forthwith, granted a substitution of attorneys conditional upon payment of this fee and directed the entry of judgment for its amount. To support this contention she argues that since section 1021 of the Code of Civil Procedure leaves the amount of an attorney’s fee to an agreement of the parties, section 284 of the same code must be construed as merely authorizing the court to determine what part of the whole contingent fee agreed upon by the attorney and his client has been earned prior to substitution, and to provide for its payment, in accordance with their agreement, out of monies recovered. As will appear, such construction is so impractical in its operation and unjust to the attorney in its consequences that it should not be indulged unless required by the language of the section. (23 Cal. Jur. 767.) An attorney who is discharged before fulfilling the services which he had agreed to perform for a contingent fee, may recover as damages the reasonable value of services actually rendered. This right he may enforce in an independent action, irrespective of section 284.
(Hall
v.
Orlof,
While a client may cancel the retainer contract by an arbitrary discharge of his attorney, he must abrogate the contract in its entirety and not in part. Since such cancellation destroys the provision maturing the fee upon the
*148
happening of a contingency, the attorney is not required to await the outcome of the litigation but may immediately sue for the reasonable value of his services.
(Matter of Tillman,
“ The attorney in an action . . . may be changed at any time ... as follows: 2. Upon the order of the court, upon the application of either client or attorney, after notice from one to the other except that in all civil cases in which the fee or compensation of the attorney is contingent
*149
upon the recovery of money, in which case the court shall
determine
the
amount
and
terms
of payment of the fee or compensation to be paid the party.” (Code Civ. Proc., sec. 284.) (Italics ours.) The italicized words define the court’s power in ordering the substitution of an attorney employed for a contingent fee. “Determine” means to decide, to adjudge
(Edwards
v.
Hellings,
Appellant further claims that if the trial court’s construction of the exception set forth in the second subdivision of section 284 is correct, such exception is unconstitutional for the reasons stated in
Cassel
v.
Gregori,
28 Cal. App. (2d) (Supp.) 769 [
Although the plaintiff Joseph Tracy was not notified as to appellant’s motion and did not appear or participate in its hearing, judgment was entered against him as well as against the appellant. As appellant urges, the judgment is void as against him for lack of jurisdiction but such invalidity does not affect the remainder of the judgment as to her.
(Cellulose Package Mfg. Co.
v.
Calhoun,
The judgment is affirmed.
Knight, Acting P. J., and Cashin, J., concurred.
