46 Kan. 54 | Kan. | 1891
The opinion of the court was delivered by
This was an action brought by Boyer & Boyer, to recover $1,030 for furnishing material and constructing a school-house in School District No. 2, in Wabaunsee county, and to foreclose a mechanic’s lien which they had filed against the school district and building. They alleged in their petition, as a first cause of action, that on or about the 20th day of July, 1889, they entered into a written contract with the school-district board to furnish material and erect for the school district a school-house, and that soon after the making of the contract they commenced the work, which was completed on October 7, 1889. They state that they performed all the conditions of the contract on their part, but that the school district had. failed and refused to pay them the contract price, or any part thereof. It is further alleged
Two grounds of error are assigned for a reversal: First, that the court erred in permitting the Boyer brothers to amend their petition during the progress of the trial by setting up the second count, which has been referred to, and which seems to have been pleaded with a view of recovering the value of the materials furnished and the labor performed, in case the court should hold that the work had not been done in the exact manner stipulated in the contract, and that they were not entitled to recover the price agreed on in the contract. A reading of the record satisfies us that no injustice was done in this respect. Great latitude is given to the court in the matter of amending pleadings, and it does not appear by the record that the defendant below asked for a
It is next insisted that the court erred in overruling a demurrer to the evidence offered by the Boyer brothers to sustain the second count in the petition. The testimony tended to show that there was some deviation from the requirements of the contract, but there was evidence offered in behalf of the Boyer brothers that there had been a substantial compliance with the contract; that they had endeavored in good faith to carry out its conditions; and that the defects were slight and unimportant. It is true that the foundation wall was made of grouting, instead of rubble-work, as the written contract required; but the contractors state that the wall was mostly completed before the written contract was entered into, and the school district knew the character of wall that was being built; and it is further claimed that it is as substantial and durable as though it had been rubble-work.
In our opinion there was sufficient testimony to warrant the judgment that was given. The building is erected upon the land of the school district, and there appears to have been an honest attempt to comply with the conditions of the contract.
“It is well settled that where one party has entered into a special contract to perform work for another and furnish materials, and the work is done and the materials are furnished, but not in the manner stipulated for in the contract, so that he cannot recover the price agreed on in the contract, yet, if the work and materials are of any value and benefit to the other party, he may recover for the work done and for the materials. This is upon the principle that if the other party has derived a benefit from the part performed it would be unjust to allow him to retain that without paying anything.” (Barn*57 well v. Kempton, 22 Kas. 314; Duncan v. Baker, 21 id. 99; Usher v. Hiatt, 21 id. 548.)
The building erected is attached to the realty and becomes the property of the school district. It is of substantial value to the district and may be used for the purposes for which it was built. To allow the school district to retain the building without paying the contractors the- reasonable worth of the same would be an injustice. The court evidently found that, although the school-house was defective in some particulars, it was of real and substantial value to the district for the purposes intended, but- because of the defects limited the award to the actual benefits which- the district received.
The plaintiff in error greatly relies on Denton v. City of Atchison, 34 Kas. 438, but that case is not apt or controlling. In that case there was no substantial compliance with the provisions of the contract, and the improvements constructed did not attach to the realty of the city or become its property. Then again, in making the improvements the city authorities are acting in behalf of the abutting property-owners who are substantially benefited by the improvement, and at whose expense it is made, and are required to pursue closely the direction of the statute; and payment cannot be enforced against the property-owner unless the statutory requirements are observed. It is true that there is much conflict of testimony in the record, but on a demurrer to the evidence we must view that of the plaintiffs below in its most favorable light; and so looking at it, we readily conclude that there was sufficient testimony to overcome the demurrer of the school district.
The judgment of the district court will be affirmed.