On Mаrch 10, 1933, defendant, Laura M. LaShell, owned two buildings in Long Beach, one a warehouse and the other a theater, both of which were *417 damaged by the earthquake of that date. On April 6, 1933, defendant entered into a written contract with plaintiff Geo. E. Bartlett for the reconstruction, of the theater building “on the basis of labor and material plus ten per cent of cost”. At approximately the same time, defendant also entered into an oral contract with plaintiff Bartlett for the reconstruction of the warehouse property, under the same terms and conditions as set forth in the written contract covеring repair of the theater building. The work of reconstruction on both buildings commenced shortly after the contracts were made and continued until both structures were completed. Work on the warehouse was completed July 19, 1933, and on the theater on August 17, 1933.
On May 9, 1933, the contractor, Bartlett, assigned his prospective compensation for repairing both buildings to the plaintiff Citizens State Bank of Long Beach. Defendant owner accepted both assignments and agreed in writing to pay to the bank the moneys so assigned. On October 18, 1933, plaintiff contractor filed a claim of lien against the theater building in the sum of $3,094.89 for his sеrvices in repairing that building.
On October 27, 1933, plaintiff bank commenced its action against defendant to recover the moneys covered by the assignments of May 9, 1933. On January 15, 1934, the contractor, Bartlett, commenced an action to foreclose his claim of lien against the theater building.
Defendant filed answеrs to both complaints, and set up counterclaims alleging that plaintiff Bartlett was indebted to defendant in the sum of $140 for rent of certain premises leased by the latter to the former; that during the construction work defendant advanced to plaintiff contractor some $2,000 more than he actually paid оut for labor and materials; that plaintiff contractor failed to perform the work in a workmanlike manner, was dilatory, inefficient, negligent and neglectful, all of which allegedly damaged defendant in the sum of $5,000; and finally, that plaintiff contractor wilfully included in his claim of lien work and materials not performed or furnishеd for the property described in the claim of lien.
The two actions were consolidated for trial. During the progress of the trial the court appointed a referee “to hear and decide the whole issue regarding the amount of com *418 pensation claimed by plaintiff in these entitled actiоns, respectively, and the claims made by defendant in her counterclaim No. 2 set forth in the answer in said ease No. C-6009, including a determination of the charges, credits and offsets and all other matters bearing on the cost of the work on the respective buildings, and the reasonable value of the various items of labor and materials bestowed upon such work”. Hearings were had before the referee, at which time evidence was taken on the items of charge made by plaintiff contractor against defendant and as to all claims of credit for payments made by defendant to the contractоr. The referee filed a report, and subsequently tendered an amended report to the court. He was also called as a witness and testified at the trial, which was resumed upon the filing of the referee’s reports.
At the conclusion of plaintiff’s case defendant moved for a nonsuit in each aсtion, on the ground that plaintiff contractor had no contractor’s license from the state of California at the time the action arose, but had nevertheless carried on the building operations without such license. In each case defendant’s motion for a nonsuit was denied. At the conclusion of the trial the court rendered a judgment in favor of plaintiffs, and subsequently handed down a nunc pro tunc amended judgment and decree of foreclosure, by the terms of which it was ordered that plaintiffs recover from defendant $2,244.93, with interest and costs. It was further adjudged that the amount due plaintiffs for work done by plaintiff Bartlett on the thеater building was the sum of $1990.17, plus interest and costs, and that plaintiffs have a lien upon the theater property for that amount, and that said property be sold to satisfy such lien. From the judgment aforesaid defendant prosecuted this appeal. Laura M. LaShell, the defendant, died pending the appeаl, and her executor, Francis H. Gentry, was substituted as defendant and appellant.
Appellant’s first ground of attack upon the judgment is that the court erred in denying the motions for nonsuit. It is earnestly urged that the uneontradicted evidence shows that the construction work in question was carried on from April to August, 1933, and that the сontractor’s state license as a building contractor expired June 30 of that year. In this regard the record shows that plaintiff Bartlett was a duly *419 licensed contractor for the fiscal year ending June 30, 1933. It appears that prior to that date defendant Bartlett formed a corporation, known as Gеo. E. Bartlett Construction Co., and on June 28, 1933, prior to the expiration of plaintiff Bartlett’s license, application was made to the registrar of contractors for a renewal of contractor’s license. Such application was accompanied by a letter, stating in part as follоws: “We would like the renewal issued to Geo. E. Bartlett Construction Co., Ltd., a corporation. Heretofore the license has been carried in Mr. Bartlett’s name.” After declaring it to be unlawful for any person to engage in the business or act in the capacity of a contractor within this state without having a license therefor, and providing a penalty for so doing, the provision of the act pertinent hereto declares: “No person engaged in the business or acting in the capacity of a contractor as defined by section 3 of this act, shall bring or maintain any action in any court of this state for thе collection of compensation for the performance of any act for which a license is required by this act without alleging and proving that such person was a duly licensed contractor at the time the alleged cause of action arose.” (Stats. 1929, chap. 791; Stats. 1931, chaps. 578, 582; Stats. 1933, chap. 573.)
It is the contention of appellant that a contract made contrary to the terms of a law designed for the protection of the public and prescribing a penalty for the violation thereof is illegal and void, and no action may be brought to enforce such a contract.
(Berka
v.
Woodward,
Appellant next urges a reversal on the ground that the findings of fact with referencе to her alleged indebtedness to respondents are without support in the evidence and “inherently insufficient”. With this claim of appellant we cannot agree. The trial court submitted to the referee “the whole issue regarding the amount of compensation claimed by plaintiff . . . and the claims made by defendant in her counterclaim No. 2 . . . including a determination of the charges, credits and offsets and all other matters bearing upon the cost of the work on the respective buildings, and the reasonable value of the various items of labor and materials bestowed upon such work”. As hereinbefore obsеrved, the referee held hearings, took evidence, and not only made findings which he reported to the court, but was also called as a witness at the trial, where, upon examination, he amplified his reports and explained in detail the manner in which he arrived at his conclusions upon the issues submitted to him. Thе referee's reports and the documentary evidence, upon which his findings were based were introduced into evidence. With the record thus constituted, surely it cannot be said that the court’s failure to make more specific findings in respect to the issues of fact determined in the referee's reports constituted error so prejudicial to defendant that a new trial should be ordered. In the case before us, the issues between the parties were framed and disposed of in the report of the referee, adopted by the court, in such a *421 manner as to clearly show the method by which the results set fоrth in the findings were reached, and the appellant -was thereby enabled to present her grievances to the appellate tribunal. This court must assume, in support of the judgment, that every controverted fact was determined in favor of the respondents, and even if there were both the disposition аnd the power on our part to reexamine the entire account between these parties, the presumption in favor of the action of the trial court would ordinarily render such action upon our part wholly nugatory. Under the Constitution (art. VI, sec. .4%), our power to reverse a judgment is restricted to cases where this court, upon the whole record, can say that there has been a miscarriage of justice in the trial court. Any procedure or record from which it can be intelligently ascertained what the issues were as to the controverted items and how these issues were disposed of by thе trial court, will suffice for the purpose, whether the matter appears from the findings, the judgment, the reporter’s transcript, or a bill of exceptions showing the controversy and the disposition thereof. In the case at bar it can easily be ascertained by referring to the reports of the referеe and the exhibits in augmentation thereof, as well as the testimony of the referee, exactly how the referee and the court found upon each item of cost and each item of credit claimed by the parties to this action. What we have just said applies with equal force to the clаimed insufficiency of the evidence to support the findings as to respondent bank. The contention that appellant was “left absolutely in the dark.as to how the court arrives at these several general conclusions”, and that she was entitled to know the method employed by the court in arriving at such сonclusions, in view of the entire record in this case, is without merit.
Appellant’s next claim of error is that under the contracts here in question respondent contractor was not entitled to recover for equipment used in the reconstruction work. However, in our opinion, in a “cost-plus” contract iperating expenses such as are occasioned by the use of equipment are included as a part of the cost of material.
(Johnson
v.
Kusminsky,
Our examination of the record impresses us with the fact that there were no errors in the rulings of the trial court upon the admissibility and rejection of evidence.
Other points raised by appellant are based upon issues in connection with which the evidence was in conflict, and the trial court resolved such conflicts in favor of respondents. It requires no citation of authority for the statement that when findings or a judgment are attacked as being unsupported by the evidence, the power of the appellate court in passing upon this question begins and ends with the determination as to whether there is any substantial evidenсe, contradicted or uncontradieted, which will support such findings and judgment; and on appeal from a judgment for plaintiffs all conflicts in the evidence must be resolved in favor of such plaintiff, and all legitimate and reasonable inferences indulged in to uphold the judgment, if possible; and when two or more inferеnces can be reasonably deduced from the facts, the reviewing court is without' power to substitute its deductions for those of the trial judge.
(Crawford
v.
Southern Pac. Co.,
3 Cal. (2d) 427 [
For the foregoing reasons, the judgment appealed from is affirmed.
York, Acting P. J., and Doran, J., concurred.
A petition by appellant to have the cause heard in the Supreme Court, after judgment in the District Court of Appeal, was denied by the Supreme Court on June 17, 1937.
