[EDITORS' NOTE: THIS PAGE CONTAINS HEADNOTES. HEADNOTES ARE NOT AN OFFICIAL PRODUCT OF THE COURT, THEREFORE THEY ARE NOT DISPLAYED.] *Page 251 This is an appeal by defendants, the owners of a lot of land in the town of Madera, 77 1/2 feet on Yosemite Avenue by 150 feet in depth on C Street, from a judgment given in several actions for the foreclosure of the liens of certain mechanics and materialmen arising in and about the construction of a building on said land, which actions were consolidated under section 1195 of the Code of Civil Procedure, and tried as one action.
The findings show the material facts to be as follows: On November 9, 1903, the appellants as owners, entered into a written contract with one W.J. Sircy, as contractor, for the erection on said land of a one-story and basement brick store building, the contractor agreeing therein "to furnish the necessary labor and materials . . . and perform and complete in a workmanlike manner, all the brick work, iron work, plastering and carpenter work and other works shown and described in and by and in conformity with the plans, drawings and specifications for the same, made by Julien Mourot, the authorized architect employed by the owner, and are signed by the parties hereto, and are to be kept and remain in the office of said architect subject to the inspection of the parties hereto and others concerned in said erection." In the *Page 252 contract it was further provided that said building was to be a "one-story and basement brick store building with corrugated galvanized iron roof, said building to be 77' 6" x 80 ft." It was expressly found that the plans, drawings, and specifications mentioned in said contract were a material, important, and necessary part thereof, and this conclusion was manifestly correct. The plans, drawings, and specifications were never filed in the county recorder's office. The remainder of the contract was so filed on November 19, 1903. According to the terms thereof, the consideration of $7320 was to be paid in five installments of $1464 each, the fourth installment to be paid when the building was completed and accepted, and the last installment, which was only twenty per cent of the whole contract price, was to be retained for thirty-five days after completion. On November 17, 1903, the contractor gave a bond upon said contract, with M.R. Madary and C.J. Craycroft as sureties, by which the sureties guaranteed the performance of said contract, and the delivery of the building free of liens. Work was commenced by the contractor in November, 1903, and continued to December 24, 1903, when a further written agreement was entered into by appellant and Sircy, whereby Sircy agreed to construct for $1318 a second story to said building, the same to be paid when "the story is up ready for the ceiling joists." This writing was never filed in the county recorder's office. The work was continued under these two writings to April 9, 1904, when the building was completed and delivered to and accepted by the appellants. Appellants have paid on account of the contract price $7,387.50, leaving in their hands a balance of $1,250.50. The various lien claimants whose liens were allowed by the trial court, furnished to the contractor materials to be and which were used in the construction of said building, or performed labor thereon, as follows: J.H. Burnett furnished materials at an agreed price, — namely, $300. J.A. Sircy, whose claim was assigned to plaintiff, Barrett-Hicks Co., a corporation, performed labor at an agreed price of $3.50 per day, to the extent of $86.70. J.A. Dyer furnished materials under contract with the contractor, for which the contractor agreed to pay "the reasonable market price thereof from time to time as the same were furnished and as the work on said building progressed," the amount of his allowed claim therefor being *Page 253 $585.45. J.A. Dyer and C.J. Craycroft, copartners, under the name and style of J.A. Dyer, furnished the contractor, under contract with him, brick at a fixed price per thousand brick, to be paid for as the same were placed in the building, the balance of their claim, which was allowed, being $717.65. Watkins Thurman furnished materials "to be paid for at the regular and usual market price, in cash upon delivery of the same," such price being found to be $276.64. The claims of lien of these parties were all filed for record in the office of the county recorder of Madera County within the proper time, and were all in proper form. In the claim of Watkins Thurman so filed there was included separately a claim for an amount due them in addition to the $276.64, for one half the cost of constructing a party wall, and as to this the court found they should be paid by the other owners of the party wall and were not entitled to a lien against appellants' property. It, however, found that such claim was made without any wrongful intent, but with an honest belief that they were entitled to a lien for the amount. This finding is not attacked. On November 17, 1903, appellants borrowed from defendant Commercial Bank of Madera, the sum of eight thousand dollars, and gave their mortgage covering said property to secure payment thereof, with interest at eleven per cent per annum. This mortgage was duly recorded on the day of its execution. As appears from the mortgage introduced in evidence, the note given for this loan was dated November 19, 1903, and was payable "five years after date." The mortgagee appeared in the actions, and in its answers set up said mortgage, alleged that "no part of the principal sum mentioned . . . has been paid," that the same with interest is wholly unpaid, and is a valid and first lien on said property, but it did not ask foreclosure of its lien. The interest on this note was paid to May 19, 1905. The court found that claimants J.A. Dyer and Dyer Craycroft both commenced to furnish the materials furnished by them respectively on November 13, 1903, a date prior to the attaching of the lien of defendant bank's mortgage. This finding is not attacked. The other liens were confessedly subject to said mortgage. There were claims of lien on behalf of some other parties which were rejected by the trial court, but these parties have not appealed, and that matter is immaterial here. *Page 254 It was further found that of said land on which the building was constructed, the amount necessary for the convenient use and occupation of the building was 77 1/2 feet on Yosemite Avenue by 100 feet in depth on C Street. This finding is not attacked.
The trial court concluded upon these facts that the contract between the appellants and Sircy was void for failure to comply with the provisions of sections 1183 and 1184 of the Code of Civil Procedure, and that under the terms of said sections the labor done and materials furnished by the claimants must be deemed to have been done and furnished at the personal instance of the appellants, and they were entitled to a lien therefor, regardless of the amount due from appellants to the contractor. It found the amounts due such claimants, allowing interest on all the claims prior to judgment, and also attorney fees. Judgment was given accordingly, directing the sale of the portion of the lot found to be necessary for the convenient use and occupation of the building, and the building thereon, and the application of the proceeds as follows, viz.: 1. To the payment of the costs, etc., of sale; 2. To the payment of the amounts due claimants J.A. Dyer and Dyer Craycroft; 3. To the payment of the amount of the mortgage lien of defendant the Commercial Bank of Madera, being eight thousand dollars, with interest from May 19, 1905; 4. To the payment of the amount due on claim of J.A. Sircy (held by plaintiff Barrett-Hicks Co.); 5. To the payment of the amounts due on the claims of Watkins Thurman and J.H. Burnett; and 6. Any surplus remaining after such payments to be delivered to the appellants. It was further adjudged that the cause of action of Watkins Thurman for the amount claimed on account of the party wall be dismissed without prejudice to their right to maintain proper proceedings against the persons liable to collect the amount due thereon.
From this judgment the owners alone appeal.
1. It cannot be doubted, in view of our decisions, that the trial court was justified in its conclusion that by reason of the failure of the parties to the building contract to substantially conform to the requirements of sections 1183 and 1184 of the Code of Civil Procedure, parties doing labor or furnishing materials must be deemed to have done and furnished *Page 255 the same at the personal instance and request of the owners, and were entitled to a lien for the value thereof.
The plans, drawings, and specifications must be held to have constituted an essential part of the written building contract. Where this is so, it is firmly established by our decisions that they must be filed in the county recorder's office with the contract in order to constitute a filing of the contract under section 1183 of the Code of Civil Procedure. This is true even though the contract itself does not refer to them as being annexed, but refers to them, as in the case at bar, as being kept in the architect's office or in some other place. (See Pierce v.Birkholm, 115 Cal. 657, [47 P. 681]; Holland v. Wilson, 76 Cal. 434, [18 P. 412]; San Francisco L. Co. v. O'Neill, 120 Cal. 455, [52 P. 728]; West Coast L. Co. v. Knapp, 122 Cal. 79, [54 P. 533]; Woods v. Oakland B. Transit Co., 107 Cal. 500, [40 P. 806]; Dunlop v. Kennedy, 102 Cal. 443, [36 P. 765];Willamette etc. Co. v. Los Angeles College Co., 94 Cal. 229, 233, [29 P. 629].) Where there is a failure to comply with the requirement as to filing, the section in terms provides that the contract "shall be wholly void," and that "the labor done and materials furnished by all persons aforesaid, except the contractor, shall be deemed to have been done and furnished at the personal instance of the owner, and they shall have a lien for the value thereof." This penalty has been uniformly enforced by the courts, and there can now be no question as to the validity of the provision. The statute now permits a memorandum of the contract containing certain matters to be filed in lieu of the contract, but it is not claimed or pretended that any memorandum was filed or attempted to be filed. The case of Joost v. Sullivan, 111 Cal. 294, [43 P. 896], relied on by appellants, was a case where a memorandum was filed, and this memorandum contained no reference to any plans and specifications, and did not even disclose the fact that there were plans and specifications. It did comply with the requirements of section 1183 of the Code of Civil Procedure, as to such a memorandum, and was held sufficient. In the case ofWillamette etc. Co. v. Los Angeles College Co., 94 Cal. 234, [29 Pac 629], speaking of the amendment allowing the filing of a memorandum in lieu of the contract, the court says: "After this amendment was made, the owner or the contractor could *Page 256 satisfy the statute by filing either the contract or such memorandum; but if he filed the contract, he must still file the whole of it, including the drawings and specifications, if they were made a part thereof; while if he preferred to file the memorandum, such memorandum must contain all the matters which are prescribed in the statute as the equivalent of the contract."
There was also a substantial departure from the provisions of section 1184 of the Code of Civil Procedure, which requires that "the contract price shall, by the terms of the contract, be made payable in installments at specified times; . . . provided that at least twenty-five per cent of the whole contract price shall be made payable at least thirty-five days after the final completion of the contract." Here, as has been seen, under the terms of the contract, only twenty per cent of the original contract price was to be so retained. It has always been recognized by this court, in line with the express declaration of the section, that where there is a substantial departure in the contract from the provisions as to the times of payment and the reservation of at least twenty-five per cent of the contract price for at least thirty-five days after the completion of the building, the property is subject to liens in favor of those doing labor or furnishing materials to the same extent that it would have been had there been no contract, and the labor and materials had been furnished at the personal instance and request of the owners. (See Willamette etc. Co. v. Los Angeles CollegeCo., 94 Cal. 235, [29 P. 629]; Yancy v. Morton, 94 Cal. 558, [29 P. 1111]; San Diego L. Co. v. Wooldredge, 90 Cal. 574, [27 P. 431]; Brill v. DeTurk, 130 Cal. 241, [62 P. 462].) In the recent case of Merced Lumber Co. v. Bruschi, 152 Cal. 372,92 P. 844, this matter was considered at length, and the rule of the section applied in a case where by the terms of the contract no part of the contract price was to be retained after the completion of the work.
2. It is contended that claimants Dyer and Craycroft, as copartners, were not entitled to a lien by reason of the fact that C.J. Craycroft, one of said partners, was a surety on the bond given by the contractor to the owners, as hereinbefore noted. This fact was alleged by way of defense in the answer of appellants to the complaint of Dyer Craycroft, *Page 257 as copartners, with the further allegation that said Craycroft was indebted to appellants on said bond in the sum of two thousand dollars, but there was no allegation tending to show that Craycroft in executing said bond acted other than in his individual capacity, or on account of said partnership, or with the knowledge or assent of his copartner, Dyer. In the absence of any evidence on the subject other than the bond itself, which is the condition appellants claim is shown by the record, the trial court was warranted in concluding that Craycroft became a surety on said bond in his individual capacity, and not on account of said copartnership, and without any relation thereto or connection therewith. It has been held that a surety on a building contractor's bond who has guaranteed the delivery of the building free of liens cannot enforce a lien against the building (see Ganahl v. Weir, 130 Cal. 237, [62 P. 512]; Blyth v.Robinson, 104 Cal. 239, [37 P. 904]; Boisot on Mechanics' Liens, sec. 753), but we do not understand that the partnership firm of which such a surety may be a partner is necessarily barred from a lien for materials furnished by it, especially where the surety does not assume to act in his capacity as a member of the firm. "If a partner does an act for a purpose which is apparently not connected with the firm's ordinary course of business, he is not acting in pursuance of any apparent authority, and the firm will not be bound unless such partner in fact had authority or unless his unauthorized act so performed is subsequently ratified. . . . The burden of proving such authority is on the creditor." (22 Am. Eng. Ency. of Law, p. 114. See, also, 1 Bates on Law of Partnership, secs. 452-454, and 349, 350; Parsons on Partnerships, secs. 83, 144.) We are of the opinion that the record discloses no reason why the firm is barred from its right of lien by reason of Craycroft's presence on the bond as a surety. The remedy of appellants against Craycroft for any breach of the bond is to be found elsewhere.
3. It is contended by appellants that the liens of claimants J.A. Dyer and Dyer Craycroft should not have been held to be paramount to the mortgage of the bank. Assuming that appellants have some interest in this matter, it is clear on the record that the contention is not well founded. The findings showing that the materials furnished by these claimants *Page 258 under contract with the contractor were commenced to be furnished several days prior to the giving of the mortgage are not attacked. Under section 1186 of the Code of Civil Procedure, in cases where there is no valid contract between the owner and the contractor, the priority of the liens is to be determined "by the time the work was done, or the materials commenced to be furnished." (McClain v. Hutton, 131 Cal. 144, [61 P. 273, 63 P. 182, 622].)
4. A question, new in this state, is presented by the fact that the decree requires the payment from the proceeds of the sale of a debt of appellants secured by mortgage on the premises, although the note evidencing such indebtedness is not yet due and payable. As already noted, the mortgagee has not appealed, and we are therefore not concerned with any question as to a violation of its right under the note and mortgage. The appellants claim their rights are violated by such a course. It is apparent that, under the circumstances of this case, it was essential to the protection of the respective rights of the various lienors, including the mortgagee, that the property should be sold for the purpose of paying all liens existing thereon. If all the mechanics' liens had been paramount to the mortgage, or if all had been subject thereto, the case would have been very different, and appellants might well have insisted that no provision be made in the decree for the payment of the mortgage. In the first case, the mortgagee would have to redeem from the lien sale to preserve its claim, and in the second case, the property would be sold subject to the mortgage. But here we have certain liens which have priority over the mortgage, and certain others which are subject thereto, and all the claimants are entitled under the statute to a judgment for the sale of the entire building with so much land as is necessary for its convenient use, that the proceeds may be applied so far as applicable to the payment of their respective liens. Learned counsel for appellants has not pointed out any practicable way other than that adopted by the trial court by which this could be accomplished. There must be a sale under such terms as to preserve the relative rights of all the parties to the action having liens on the property. This, we think, our statute clearly contemplates, and if, in order to accomplish this, it is absolutely necessary to pay certain debts not yet due which *Page 259 constitute liens on the property, we entertain no doubt as to the power of the court to make such provision in such a manner as may be equitable. In such a case, the debtor and mortgage creditor must be deemed to have acted subject to the contingency that such a disposition may be necessary, and the debt, therefore, required to be paid from the proceeds of the sale of the property before it becomes due, there being a rebate of interest allowed whenever such a rebate is proper. The case is somewhat similar to that of the foreclosure of a mortgage payable in installments which are not all due, and the court is authorized, where the property cannot be sold in portions without injury to the parties, to order the whole of it sold in the first instance, and the entire debt and costs paid, with rebate of interest where proper. (Code Civ. Proc. sec. 728.) In Boisot on Mechanics' Liens, section 663, it is declared that where some liens are superior to a mortgage and also to other liens, and the rest are inferior to the mortgage, the decree should provide that prior claimants should be paid as if there were no mortgage, and the residue applied first to the mortgage and then to the inferior liens, citingChoteau v. Thompson, 2 Ohio St. 114. That was exactly the procedure here. In Croskey v. Northwestern Mfg. Co., 48 Ill. 481, it was held that in a suit to enforce mechanics' liens, the decree might direct a sale of the premsies in fee, though a mortgage thereon is not then due, and the application of the proceeds to the liens and mortgage according to their respective rights of priority. (See, also, North Presbyterian Church v.Jevne, 32 Ill. 214, [83 Am. Dec. 261]; Grundeis v. Hartwell,90 Ill. 324; Craig v. Herzman, 9 N. Dak. 140, [81 N.W. 288]; Kahler v. Carruthers, 18 Tex. Civ. App. 216[18 Tex. Civ. App. 216], 223, [45 S.W. 160].)
5. There was nothing prejudicial to appellants in the dismissal of the claim of Watkins Thurman as to the amount due on account of the party wall, without prejudice to their rights to maintain proper proceedings against the parties personally liable therefor.
6. In both their opening and closing briefs, appellants concede the rights of all the lien claimants, except J.A. Dyer and Watkins Thurman, to the interest allowed by the trial court, if their liens should be sustained. This concession was warranted by the authorities, it being settled that where the *Page 260 amount is so fixed by agreement that it may be made certain by calculation, interest may be allowed prior to judgment. (Hines v.Miller, 126 Cal. 683, [59 P. 142]; Macomber v. Bigelow,126 Cal. 9, [58 P. 312], and cases there cited.) The claims of all except J.A. Dyer and Watkins Thurman were of this character. InPacific Mutual etc. Co. v. Fisher, 106 Cal. 233, [39 P. 758], it was said, in holding the claimants entitled to interest under such circumstances, that the lien which the statute gives is as extensive as the claim which it is intended to protect. This construction of our statute does not render it unconstitutional, as is suggested for the first time in the petition filed herein for a rehearing after decision by the district court of appeal.
7. We are of the opinion that the claim of appellants that claimants Dyer and Watkins Thurman were not entitled to interest prior to judgment is well founded. As to each of these claims, the amount due was unliquidated and not capable of being made certain by calculation until fixed by the judgment. The rule applied to such claims in Macomber v. Bigelow, 126 Cal. 9, [58 P. 312], namely, that interest prior to judgment cannot be allowed, was applicable. (See, also, Stimson v. Dunham etc.,146 Cal. 285, [79 P. 968].) The judgment must be modified in this respect.
8. The learned judge of the trial court, acting in accord with what was the universal practice up to the time he gave judgment herein, allowed each of the claimants an attorney fee. Since the judgment, this court has held section 1195 of the Code of Civil Procedure, which purports to authorize such allowance, to be unconstitutional. (Builders Supply Co. v. O'Connor, 150 Cal. 265, [119 Am. St. Rep. 193, 88 P. 982].) The judgment must also be modified in this respect.
We have now considered all the points made by appellants which require consideration. Some findings that are immaterial are attacked, but so far as the findings are material under our view of the case, they are either not attacked at all, or are fully sustained by the admissions of the pleadings or by the evidence.
It is ordered that the judgment be modified by deducting and striking therefrom the allowance in favor of J.A. Dyer of $61.47 interest, and the allowance in favor of Watkins Thurman of $29.04 interest, and also by deducting and striking *Page 261 therefrom each and all of the allowances made for attorney fees to the various claimants, and that, as so modified, the judgment is affirmed.
Appellants shall not recover any costs of appeal as against respondents Dyer Craycroft, as copartners, Barrett-Hicks Company or J.H. Burnett.
Shaw, J., and Sloss, J., concurred.