OPINION
Stanley Kurzet, Anne Kurzet, and the Kur-zet Family Trust appeal from a district court order awarding Bailey-Alien Company, Inc., damages, prejudgment interest, and post-judgment interest under a construction contract and denying the Kurzets’ request for attorney fees on their successful summary judgment motion. We reverse and remand.
*423 FACTS
In July 1990, Stanley Kurzet and Bailey-Ailen Company, Inc. entered into a contract for the construction of the Kurzets’ home. The agreement, which Mr. Kurzet drafted, provides in relevant portion:
This Agreement covers all of the understandings existing between BAILEY-ALLEN (Contractor) and STANLEY KUR-ZET (Owner) for the construction of a residence on LOT #4 of the EVERGREEN development at DEER VALLEY, PARK CITY, UTAH.
The Contractor is retained by Owner on a cost plus fixed fee basis. Costs shall be billed monthly and payment shall be made within ten days of receipt of billing. The fee fixed for this contract is set at $100,000 for the residence as depicted in the drawings plus a maximum of $50,000 in directed additional work, if any. Any directed additional work in excess of an aggregate cost of $50,000 will result in additional fees based on 7% of the cost of such additional work.
[[Image here]]
Both Contractor and Owner stipulate that this contract cannot be changed except and unless in writing, bearing the date and signatures of both parties.
[[Image here]]
The Owner’s review authority notwithstanding, the Contractor is fully responsible to Owner for the performance of subcontractors. Accordingly, costs occasioned by the failure of a subcontractor to perform shall not be assessable to Owner.
The Contractor shall carry insurance specifically providing for saving Owner harmless from any action arising due to the injury of a worker even if an employee] of a subcontractor or supplier who is not properly or adequately insured. Contractor shall, within 10 days of the date of this agreement furnish a Certificate of Insurance prepared by the Carrier or its Authorized Agent. The Certificate shall specifically state the purpose and limits of the policy and these shall show that the work to be performed under this contract is covered.
[[Image here]]
Contractor takes note that Owner is concerned about the quality of workmanship and materials and that this concern stems from prior experience with a local contractor and ownership of several condominiums at the Pinnacle development. Owner will not make unreasonable demands, however, slovenly workmanship and/or substandard materials will neither be accepted [n]or paid for by Owner. Owner considers that the fees he pays to Contractor are • specifically for his expertise in selecting and supervising workers so as to avoid unacceptable and substandard workmanship and/or the use of substandard quality materials.
The agreement is silent regarding remedies in the event of a breach by either party.
Ten days after the contract was signed, Mr. Kurzet requested the required certificate of insurance, but never received it. Bailey-Alen later admitted that its policy had expired nearly two years earlier. In October 1990, Mr. Kurzet terminated Bailey-Alien's services, based on its failure to provide proof of insurance and Mr. Kurzet’s dissatisfaction with Bailey-Allen’s attention to the project. At the time of the termination, the work under the contract was approximately 10% complete, with the house framed and the roof partially finished.
Bailey-Alien filed a complaint against the Kurzets in December 1990, alleging breach of contract, mechanics’ lien, unjust enrichment, and failure to obtain a construction bond. The trial court subsequently granted the Kurzets’ motion for partial summary judgment on the latter three causes of action, reserving the breach of contract claim for trial to the bench. At the trial on the breach of contract claim, the court reinstated sua sponte the unjust enrichment claim and granted a continuance for the parties to present their evidence thereupon.
After hearing the evidence, the court determined “that the subject contract was ambiguous and incomplete as drafted and that the Court has a responsibility to add to it.” The court further concluded that Bailey-Allen’s failure to provide evidence of insurance and its lack of supervision of the project were *424 material breaches of the contract that justified the termination. The court determined the Kurzets had not breached the contract.
The trial court then concluded that Bailey-Alien was entitled to recover under its unjust enrichment theory and went on to consider the amount of damages due, concluding that “the most logical basis [was] the percentage of defendants’ residence that was completed during the period plaintiff was on the job.” Accordingly, the court awarded Bailey-Alien $15,500 “in quantum meruit/unjust enrichment, based on the contract between plaintiff and defendants, $10,000 representing ⅛> of the contract price for services in completing ¾0 of the construction, and $5,500 for services involving negotiations for the purchase of lumber.” Bailey-Alien was held liable to the Kurzets for $1800 in costs for repairing Bailey-Alien’s faulty construction of a retaining wall, for $2000 for repairing its faulty construction of concrete steps, and for $559 in costs for unnecessary materials.
The court entered judgment for Bailey-Alien in the amount of $11,141, representing its damages offset by the amounts owed to the Kurzets. The court awarded Bailey-Alien prejudgment interest and post-judgment interest from and after April 17, 1992, the date the trial court granted Bailey-Alien’s motion to compel findings of fact and conclusions of law. The court dismissed the Kurzets’ counterclaims and denied their claim for attorney fees and costs associated with their successful motion for partial summary judgment on the mechanics’ lien and construction bond claims.
The Kurzets appeal, claiming the trial court erred in: (1) awarding Bailey-Alien damages under the contract or in quantum meruit; (2) awarding prejudgment interest; (3) awarding postjudgment interest from the date it granted Bailey-Alien’s motion to compel findings of facts and conclusions of law, rather than from the date the judgment was entered; and (4) denying their claim for attorney feés and costs on their successful partial summary judgment motion under the mechanics’ lien and construction bond statutes.
I. DAMAGE AWARD
The trial court awarded Bailey-Allen $15,500 in damages “in quantum meru-it/unjust enrichment, based on the contract between the parties.”
1
Whether the court’s theory of recovery was proper raises a question of law, which this court reviews for correctness.
Van Dyke v. Chappell,
A. Recovery Under the Contract
We first look at the written contract to determine whether its terms justify the damage award. In evaluating the contract, this court must first ascertain whether the contract was integrated and second whether it was ambiguous.
Ron Case Roofing & Asphalt Paving, Inc. v. Blomquist,
In the absence of any express contract provision or extrinsic evidence of intent, we look to a rule set forth in an early supreme court case for guidance in our analysis: “In an action upon the contract [the contractor] cannot recover unless and until
*425
he [or she] shows that he [or she] has,
substantially at least, complied
with its provisions.”
Ryan v. Curlew Irrigation & Reservoir Co.,
However, “[i]f the defective performance, though less than ‘substantial’ has conferred benefits on the defendant in excess of his [or her] injury, he [or she] may be under a quasi-contractual duty to pay that excess.” Id. § 700, at 310. Thus,
[a] contractor whose breach is such that he [or she] has rendered less than “substantial performance” has no right to the contract price; he [or she] is said to have no remedy “on the contract”.... The contractor’s right is a right to reasonable compensation for value received by the defendant over and above the injury suffered by the contractor’s breach.
Id. § 710, at 342.
Applying this principle, we conclude neither the court’s findings nor the underlying evidence establish that Bailey-Alien substantially performed under the contract. The court found only that what work was accomplished had come about regardless of whether Bailey-Alien performed. Furthermore, the court acknowledged that Bailey-Alien was “not performing” certain aspects of the contract, in addition to failing to obtain insurance. Even if we attribute to Bailey-Alien the 10% of the work completed during its three-month tenure, it still does not constitute substantial performance. Because Bailey-Alien failed to substantially perform as required by the contract, it cannot recover under the contract.
B. Recovery in Quantum Meruit
The Kurzets argue that the existence of a written contract bars an action in quantum meruit. They are correct that recovery in quantum meruit typically presupposes that no
enforceable
written or oral contract exists.
Karapanos v. Boardwalk Fries, Inc.,
As discussed earlier, a non-breaching party is discharged from its contract duties but may have a quasi-contractual duty to pay the value of the benefit conferred in excess of the damage caused by the contractor’s breach. Corbin §§ 700, at 309-10, 707, at 329. The Utah Supreme Court employed an analogous approach in
Lowe v. Rosenlof 12
Utah 2d 190,
Quantum meruit has two branches, both rooted in justice.
Davies,
The trial court’s findings of fact and conclusions of law do not specifically address the three requirements for recovery under unjust enrichment, nor do the undisputed underlying facts make clear that a quasi-contract award is appropriate. Instead the court’s findings are internally inconsistent. For example, the trial court concluded that Bailey-Alien conferred a $10,000 benefit “regardless of whether plaintiff performed its duties under the contract.” The Kurzets argue persuasively that Bailey-Alien does not satisfy the first element of the Davies test because Bailey-Alien conferred no benefit upon them. The trial court seemed to agree, at least in theory, in finding that the 10% of the work completed during Bailey-Alien’s tenure was not necessarily due to its presence or performance.
It is equally unclear whether the second element of the Davies test was satisfied. Mr. Kurzet’s testimony suggests he failed to realize any benefit conferred directly by Bailey-Alien. In fact, the core of the Kurzets’ defense is that Bailey-Alien failed to perform any of the material terms of the contract and that any portion of the project completed was accomplished by other parties. Furthermore, the trial court found that Bailey-Alien did not give the project the attention Mr. Kurzet demanded. Finally, under the third element, the trial court did not find explicitly that it would be unjust to allow the Kurzets to retain, without payment, the construction completed before Bailey-Alien was terminated.
We are simply unable to determine whether the trial court’s award of $10,000 “in quantum meruit/unjust enrichment” was predicated on the proper legal standard. We therefore reverse the award and remand for analysis and findings under the standard articulated in Davies. The trial court should make detailed, consistent findings on each of the three required elements and allow recovery only if all three are satisfied.
C. Measure of Damages
If the trial court determines on remand that an award is warranted, we offer the following guidance for assessing the measure of damages. The Restatement (Second) of Contracts suggests a measure of damages referred to as “restitution in favor of party in breach.” Restatement (Second) of Contracts § 374 (1981). Section 374 states that the breaching party is liable for the loss caused by the breach, but may recover the benefit conferred if it exceeds that loss. Id. The party seeking restitution must prove the measure of that benefit. Id.
Therefore, if on remand the trial court determines that recovery under quantum meruit is appropriate, it must make findings on the damages caused by Bailey-Allen’s breach. The court should also make particularized findings on any benefit conferred on the Kurzets by Bailey-Alien, including its supervision as the general contractor and its involvement in negotiating the purchase price of the lumber at issue. We note that the court should make certain that any benefit conferred in negotiating the price of the lumber must be somehow in addition to the benefits Bailey-Alien conferred by virtue of performing its contractual duty to supervise the project. Bailey-Alien should ultimately recover only the benefit conferred in excess of the damage it caused. We also note that the percentage of the work completed, if it resulted from Bailey-Alien’s efforts, is not an unreasonable measure of the benefit conferred.
See Dawell J. Didericksen & Sons, Inc. v. Magna Water & Sewer,
*427 II. PREJUDGMENT INTEREST
The Kurzets next claim that the trial court improperly awarded Bailey-Alien prejudgment interest. Because we vacate the judgment, we deal with this issue only for the benefit of the trial court if it concludes on remand that a judgment under quantum me-ruit is proper.
A trial court’s decision on “entitlement to prejudgment interest presents a question of law which we review for correctness.”
Andreason v. Aetna Casualty & Sur. Co.,
This court has previously rejected a claim for prejudgment interest on an unjust enrichment award.
Shoreline Dev., Inc. v. Utah County,
III. POSTJUDGMENT INTEREST 2
The Kurzets also appeal the award of postjudgment interest at 12% per annum from and after April 17, 1992, the date upon which the trial court granted Bailey-Alien’s motion to compel findings, conclusions, and judgment.
3
They claim that postjudgment interest, if appropriate at all, should accrue only as of the date a judgment is entered. We review the award of postjudgment interest, a question
of
law, under the correction of error standard.
Cf. Andreason v. Aetna Casualty & Sur. Co.,
Our decision in
Mason v. Western Mortgage,
Mason dictates that any postjudgment interest awarded in this case should run only from the date of the new judgment on remand. Id. at 987. We therefore reverse the award of postjudgment interest from April 17, 1992 and remand for the entry of post-judgment interest, if damages are awarded, only from the date the new judgment is entered. 4
*428 IV. ATTORNEY FEES
Finally, the Kurzets challenge the trial court’s denial of their request for attorney fees and costs attributable to their successful motion for partial summary judgment. On September 24, 1991, the trial court granted the Kurzets’ motion for partial summary judgment on the mechanics’ lien and construction bond causes of action. At that time, the court “reserved for future determination” the request for attorney fees and costs. Although the Kurzets subsequently filed an Affidavit of Attorney Fees and Costs and requested such fees on several occasions, the trial court never determined the amount of fees and ultimately denied without explanation the request for attorney fees and costs attributable to the successful motion for partial summary judgment.
In most cases, attorney fees are appropriately awarded only if authorized by statute or contract.
Dixie State Bank v. Bracken,
We thus conclude that the trial court erred in denying the Kurzets’ request for attorney fees under the Mechanics’ Lien statute, and we remand for a determination of the amount of reasonable attorney fees. For guidance in calculating that amount, we direct the trial court to
Dixie State Bank,
Attorney fees under the Bond Statute may also be warranted. The Bond Statute states: “In an action for failure to obtain a bond, the court
may aivard
reasonable attorneys’ fees to the prevailing party.” Utah Code Ann. § 14-2-2(3) (1992) (emphasis added). Bailey-Alien is apparently correct, then, that section 14-2-2(3) endows the trial court with discretion in awarding attorney fees. We must therefore determine whether the trial court’s denial of those fees constituted an abuse of discretion.
Equitable Life & Casualty Ins. Co. v. Ross,
Consequently, the trial court’s failure to set forth its basis for denying the requested attorney fees was an abuse of discretion, and we remand for the entry of findings supporting the decision to award or deny attorney fees under the Bond Statute. When determining whether attorney fees should be awarded under the Bond Statute, the trial court should consider precedent treating the Bond Statute as auxiliary to the Mechanics’ Lien Statute and as sharing with it a common purpose.
See King Bros., Inc. v. Utah Dry Kiln Co.,
*429 CONCLUSION
Bailey-AIlen was not entitled to recover damages under the contract. However, it may be entitled to recover in quantum meru-it. Accordingly, we reverse and remand for the entry of findings consistent with this opinion and, if those findings support an award in quantum meruit, for the entry of a judgment. We reverse the award of prejudgment interest, and we direct the trial court to award postjudgment interest, if a judgment is awarded, only from the date the new judgment on remand is entered. Finally, we reverse and remand for the entry of attorney fees under the Mechanics’ Lien Statute and for consideration of whether they should be awarded under the Bond Statute.
DAVIS and ORME, JJ., concur.
Notes
. Bailey-Alien argues that the award of $10,000 was "clearly awarded pursuant to the construction contract [and not] under an 'unjust enrichment’ theory.” However, the basis of the award is not as clear as Bailey-Alien suggests, particularly in light of the wording of the judgment.
. If the trial court does not award damages on remand, then there will be no basis for post-judgment interest. We therefore offer the following guidance only in the event that damages are awarded.
. Apparently the delay in filing the findings, conclusions, and judgment occurred because the Kurzets obtained new counsel. As soon as the substitution of counsel took place, the documents were filed. Bailey-Alien argues that it was appropriate for the trial court to "penalize” the Kurzets for this delay. The Kurzets counter that Bailey-Alien could have sought sanctions for the delay and that the trial court should not have penalized them in this fashion for delaying the entry of the judgment.
. To avoid confusion on remand, we wish to make clear that any post-judgment interest should run from the date that the new judgment is entered, rather than orally rendered.
See
Utah R.App.P. 32;
Mason,
