This action was begun by appellants after this court had rendered a judgment adverse to appellant
Plaintiffs seek to recover the reasonable value of labor performed and material furnished to a local improvement district in the city of Olympia, popularly known as the Swan-town slough. The case reported in
It is not disputed that an action prosecuted upon an express contract will not bar an action upon quantum meruit. Thayer v. Harbican,
In determining whether the plaintiffs are concluded by the former action, we must look to the character of the action, the issue joined, and the judgment entered. Stripped of all verbiage and fine distinctions, and treating the mandamus proceedings as a civil action under the statute (State ex rel. Brown v. McQuade,
Res judicata is, “a matter adjudged, a thing judicially acted upon or decided, a thing or matter settled by judicial decision.” 34 Cyc. 1666.
“A fact or question which was actually and directly in issue in a former suit, and was there judicially, passed upon and determined by a domestic court of competent jurisdiction.” 23 Cyc. 1215.
Can it be said that anything that is urged in this case was settled or decided by the court in the other case? The only possible theory that can be advanced against the right of appellants to maintain this action is that the judgment is conclusive of all things decided, or which might have been decided, in the former case. We have shown that the real issue between the parties was not decided, nor can it be held that it might have been decided. The plea of abandonment was in the nature of a plea in bar. When the court found that there had been an express contract and that it had been wilfully abandoned, the legal conclusion followed that a recovery could not be had upon the express contract. Therefore, the question of quantum meruit could not have been decided in the former action. The city asked no findings upon its present theory of the case, but was content with all that the law gave it, a judgment of dismissal. The merits of
“When, therefore, the appellant persisted in following his own plan and ignoring that of the city engineer, he in law wilfully and fraudulently violated his contract, and cannot make it the basis for now insisting that the city make him the payments specified to be paid him upon the completion of the contract.” Mallory v. Olympia, supra.
We can find nothing in the law or in the record in this case that would bar an inquiry or prevent a recovery upon an action for quantum meruit. It is not denied that the appellants furnished labor and material of great value to the improvement district and which it is using in the exercise of its public functions. It may be admitted that the city has not received that for which it contracted, but it has received that which, by the exercise of its privileges under the contract, it has made to conform to its demands and for which it should pay a sum equal to its reasonable worth and value.
In determining whether the former judgment is res judicata we are not limited to an inspection of the judgment alone, for the parties have saved all legal questions as to the power of a court to go beyond the judgment, by stipulating that we may consider the pleadings as well as the judgment in the former case.
The words “the plaintiff wilfully abandoned his work under said contract and wholly failed to complete said contract in accordance with the plans and specifications and to the satisfaction of the city engineer,” considered in the light of the pleadings, make it plain that the issue before the court was whether or not the contract had been completed according
In Buddress v. Schafer, supra, it is said:
“To determine whether a former judgment is a bar to a subsequent action, it is necessary to inquire whether the same evidence would have maintained both of such actions.”
It is unnecessary to multiply authorities. This principle is laid down by every text writer and sustained by all authority. It is the primary test of res judicata. Let us apply it.
In the first case, it was incumbent upon plaintiff to prove the execution of his contract and to testify that his work had been performed. This made a prima facie case. Defendant, on the other hand, must prove that the work had not been done to the satisfaction of the city and had been completed at a certain cost and damage to the city, so that a judgment for the contract price would be offset, under the terms of the contract, by the cost to the city of making the work consistent with the plans and specifications. The value of the goods and the labor that went into the work were not material to the issue.
In this case, applying the same test, the terms and conditions, the time and manner of payment, and all details of
This court has endeavored to hold municipalities to the same standard of right and wrong that the law imposes upon individuals. Franklin County v. Carstens,
“This court has adopted the more equitable doctrine of allowing the parties, where the contract if entered into in conformity with the statutes would not have been unlawful, to retain from the moneys received by them a sum equivalent to the reasonable value of the property the county acquires and retains in virtue of the execution of the void contract. . . . So in this case, since the county has accepted and made use of the bridge, it is liable to the builders for its reasonable value.”
We take it that the trial judge rested his judgment upon the case of Hawkins v. Reber,
It may be that Mallory did all that is claimed; that he did not follow the directions of the city engineer as they were given from day to day, and that he offered a bribe to the city engineer if he would approve the work; but it ill becomes a city to appeal to that fact to justify a taking of that for which it is rendering no recompense to the one whose money has gone to pay for the improvement and who is innocent of all wrong. Such a course is not justified by reference to any provision of the contract, nor can it be sustained by reference to any principle of the common law or equity. It should not be urged by man or municipality, nor should it be tolerated in a court of law.
It is further contended that, the court having found that the plaintiff abandoned his contract the plaintiffs cannot recover upon the theory of substantial performance. Many authorities are cited to sustain this rule, and it may be that no cases can be found where the doctrine of substantial compliance has been applied where there was an intentional and fraudulent failure to comply with the terms of the contract. The fault in this reasoning is that plaintiffs are not seeking
The court, in the case of Mortimer v. Dirks, says of the rule allowing a recovery where the contract has been substantially performed,
“But such a rule, being founded in equity, is for the benefit of those who do equity, and it cannot be invoked by those who wilfully and intentionally violate and breach their contracts.”
The contract of the city to pay for the work necessary to make it conform to its idea of the plans and charge it against the contractor and his bondsmen is as sacred and binding as was the contract of the contractor to do the work according to the plans and specifications. In the Mortimer case, the equities were upon one side. In this case, there are equities upon both sides. The equities are equal and the law should prevail. The city should not be allowed to take labor and property upon the theory of moral wrong practiced by the contractor, while it is repudiating an express contract to do the work in its own way and charge the cost and no
The judgment of the lower court should be reversed, with instructions to take testimony as to the reasonable value of the labor and material, subject to all lawful offsets, so that an assessment can be made against the improvement district according to benefits to pay the amount due.
Crow, C. J., Gose, and Parker, JJ., concur.
