389 Phil. 184
QUISUMBING, J.:
"WHEREFORE, in view of the foregoing, the Court hereby renders judgment in favor of the plaintiff and against defendant Victorias Milling Company:Petitioner appealed the trial court's decision to the Court of Appeals.
"1) Ordering defendant Victorias Milling Company to deliver to the plaintiff 23,000 bags of refined sugar due under SLDR No. 1214;
"2) Ordering defendant Victorias Milling Company to pay the amount of P920,000.00 as unrealized profits, the amount of P800,000.00 as exemplary damages and the amount of P1,357,000.00, which is 10% of the acquisition value of the undelivered bags of refined sugar in the amount of P13,570,000.00, as attorney's fees, plus the costs.
"SO ORDERED."[9]
It made the following observations:
"[T]he testimony of plaintiff's witness Teresita Ng Go, that she had fully paid the purchase price of P15,950,000.00 of the 25,000 bags of sugar bought by her covered by SLDR No. 1214 as well as the purchase price of P15,950,000.00 for the 25,000 bags of sugar bought by her covered by SLDR No. 1213 on the same date, October 16, 1989 (date of the two SLDRs) is duly supported by Exhibits C to C-15 inclusive which are post-dated checks dated October 27, 1989 issued by St. Therese Merchandising in favor of Victorias Milling Company at the time it purchased the 50,000 bags of sugar covered by SLDR No. 1213 and 1214. Said checks appear to have been honored and duly credited to the account of Victorias Milling Company because on October 27, 1989 Victorias Milling Company issued official receipt no. 34734 in favor of St. Therese Merchandising for the amount of P31,900,000.00 (Exhibits B and B-1). The testimony of Teresita Ng Go is further supported by Exhibit F, which is a computer printout of defendant Victorias Milling Company showing the quantity and value of the purchases made by St. Therese Merchandising, the SLDR no. issued to cover the purchase, the official reciept no. and the status of payment. It is clear in Exhibit 'F' that with respect to the sugar covered by SLDR No. 1214 the same has been fully paid as indicated by the word 'cleared' appearing under the column of 'status of payment.'
"On the other hand, the claim of defendant Victorias Milling Company that the purchase price of the 25,000 bags of sugar purchased by St. Therese Merchandising covered by SLDR No. 1214 has not been fully paid is supported only by the testimony of Arnulfo Caintic, witness for defendant Victorias Milling Company. The Court notes that the testimony of Arnulfo Caintic is merely a sweeping barren assertion that the purchase price has not been fully paid and is not corroborated by any positive evidence. There is an insinuation by Arnulfo Caintic in his testimony that the postdated checks issued by the buyer in payment of the purchased price were dishonored. However, said witness failed to present in Court any dishonored check or any replacement check. Said witness likewise failed to present any bank record showing that the checks issued by the buyer, Teresita Ng Go, in payment of the purchase price of the sugar covered by SLDR No. 1214 were dishonored."[10]
"WHEREFORE, the Court hereby MODIFIES the assailed judgment and orders defendant-appellant to:Both parties then seasonably filed separate motions for reconsideration.
"1) Deliver to plaintiff-appellee 12,586 bags of sugar covered by SLDR No. 1214M;
" 2) Pay to plaintiff-appellee P792,918.00 which is 10% of the value of the undelivered bags of refined sugar, as attorneys fees;
"3) Pay the costs of suit.
"SO ORDERED."[11]
"WHEREFORE, the Court hereby modifies the assailed judgment and orders defendant-appellant to:The appellate court explained the rationale for the modification as follows:
"(1) Deliver to plaintiff-appellee 23,000 bags of refined sugar under SLDR No. 1214M;
"(2) Pay costs of suit.
"SO ORDERED."[12]
"Exhibit `F' We relied upon in fixing the number of bags of sugar which remained undelivered as 12,586 cannot be made the basis for such a finding. The rule is explicit that courts should consider the evidence only for the purpose for which it was offered. (People v. Abalos, et al, 1 CA Rep 783). The rationale for this is to afford the party against whom the evidence is presented to object thereto if he deems it necessary. Plaintiff-appellee is, therefore, correct in its argument that Exhibit `F' which was offered to prove that checks in the total amount of P15,950,000.00 had been cleared. (Formal Offer of Evidence for Plaintiff, Records p. 58) cannot be used to prove the proposition that 12,586 bags of sugar remained undelivered.Hence, the instant petition, positing the following errors as grounds for review:
"Testimonial evidence (Testimonies of Teresita Ng [TSN, 10 October 1990, p. 33] and Marianito L. Santos [TSN, 17 October 1990, pp. 16, 18, and 36]) presented by plaintiff-appellee was to the effect that it had withdrawn only 2,000 bags of sugar from SLDR after which it was not allowed to withdraw anymore. Documentary evidence (Exhibit I, Id., p. 78, Exhibit K, Id., p. 80) show that plaintiff-appellee had sent demand letters to defendant-appellant asking the latter to allow it to withdraw the remaining 23,000 bags of sugar from SLDR 1214M. Defendant-appellant, on the other hand, alleged that sugar delivery to the STM corresponded only to the value of cleared checks; and that all sugar corresponded to cleared checks had been withdrawn. Defendant-appellant did not rebut plaintiff-appellee's assertions. It did not present evidence to show how many bags of sugar had been withdrawn against SLDR No. 1214M, precisely because of its theory that all sales in question were a series of one single transaction and withdrawal of sugar depended on the clearing of checks paid therefor.
"After a second look at the evidence, We see no reason to overturn the findings of the trial court on this point."[13]
"1. The Court of Appeals erred in not holding that STM's and private respondent's specially informing petitioner that respondent was authorized by buyer STM to withdraw sugar against SLDR No. 1214M "for and in our (STM) behalf," (emphasis in the original) private respondent's withdrawing 2,000 bags of sugar for STM, and STM's empowering other persons as its agents to withdraw sugar against the same SLDR No. 1214M, rendered respondent like the other persons, an agent of STM as held in Rallos v. Felix Go Chan & Realty Corp., 81 SCRA 252, and precluded it from subsequently claiming and proving being an assignee of SLDR No. 1214M and from suing by itself for its enforcement because it was conclusively presumed to be an agent (Sec. 2, Rule 131, Rules of Court) and estopped from doing so. (Art. 1431, Civil Code).The issues will be discussed in seriatim.
" 2. The Court of Appeals erred in manifestly and arbitrarily ignoring and disregarding certain relevant and undisputed facts which, had they been considered, would have shown that petitioner was not liable, except for 69 bags of sugar, and which would justify review of its conclusion of facts by this Honorable Court.
" 3. The Court of Appeals misapplied the law on compensation under Arts. 1279, 1285 and 1626 of the Civil Code when it ruled that compensation applied only to credits from one SLDR or contract and not to those from two or more distinct contracts between the same parties; and erred in denying petitioner's right to setoff all its credits arising prior to notice of assignment from other sales or SLDRs against private respondent's claim as assignee under SLDR No. 1214M, so as to extinguish or reduce its liability to 69 bags, because the law on compensation applies precisely to two or more distinct contracts between the same parties (emphasis in the original).
"4. The Court of Appeals erred in concluding that the settlement or liquidation of accounts in Exh. `F' between petitioner and STM, respondent's admission of its balance, and STM's acquiescence thereto by silence for almost one year did not render Exh. `F' an account stated and its balance binding.
"5. The Court of Appeals erred in not holding that the conditions of the assigned SLDR No. 1214, namely, (a) its subject matter being generic, and (b) the sale of sugar being subject to its availability at the Nawaco warehouse, made the sale conditional and prevented STM or private respondent from acquiring title to the sugar; and the non-availability of sugar freed petitioner from further obligation.
"6. The Court of Appeals erred in not holding that the "clean hands" doctrine precluded respondent from seeking judicial reliefs (sic) from petitioner, its only remedy being against its assignor."[14]
Simply stated, the issues now to be resolved are:
(1) Whether or not the Court of Appeals erred in not ruling that CSC was an agent of STM and hence, estopped to sue upon SLDR No. 1214M as an assignee.
(2) Whether or not the Court of Appeals erred in applying the law on compensation to the transaction under SLDR No. 1214M so as to preclude petitioner from offsetting its credits on the other SLDRs.
(3) Whether or not the Court of Appeals erred in not ruling that the sale of sugar under SLDR No. 1214M was a conditional sale or a contract to sell and hence freed petitioner from further obligations.
(4) Whether or not the Court of Appeals committed an error of law in not applying the "clean hands doctrine" to preclude CSC from seeking judicial relief.
"This is to authorize Consolidated Sugar Corporation or its representative to withdraw for and in our behalf (stress supplied) the refined sugar covered by Shipping List/Delivery Receipt = Refined Sugar (SDR) No. 1214 dated October 16, 1989 in the total quantity of 25, 000 bags."[16]The Civil Code defines a contract of agency as follows:
"Art. 1868. By the contract of agency a person binds himself to render some service or to do something in representation or on behalf of another, with the consent or authority of the latter."It is clear from Article 1868 that the basis of agency is representation.[17] On the part of the principal, there must be an actual intention to appoint[18] or an intention naturally inferable from his words or actions;[19] and on the part of the agent, there must be an intention to accept the appointment and act on it,[20] and in the absence of such intent, there is generally no agency.[21] One factor which most clearly distinguishes agency from other legal concepts is control; one person - the agent - agrees to act under the control or direction of another - the principal. Indeed, the very word "agency" has come to connote control by the principal.[22] The control factor, more than any other, has caused the courts to put contracts between principal and agent in a separate category.[23] The Court of Appeals, in finding that CSC, was not an agent of STM, opined:
"This Court has ruled that where the relation of agency is dependent upon the acts of the parties, the law makes no presumption of agency, and it is always a fact to be proved, with the burden of proof resting upon the persons alleging the agency, to show not only the fact of its existence, but also its nature and extent (Antonio vs. Enriquez [CA], 51 O.G. 3536]. Here, defendant-appellant failed to sufficiently establish the existence of an agency relation between plaintiff-appellee and STM. The fact alone that it (STM) had authorized withdrawal of sugar by plaintiff-appellee "for and in our (STM's) behalf" should not be eyed as pointing to the existence of an agency relation ...It should be viewed in the context of all the circumstances obtaining. Although it would seem STM represented plaintiff-appellee as being its agent by the use of the phrase "for and in our (STM's) behalf" the matter was cleared when on 23 January 1990, plaintiff-appellee informed defendant-appellant that SLDFR No. 1214M had been "sold and endorsed" to it by STM (Exhibit I, Records, p. 78). Further, plaintiff-appellee has shown that the 25, 000 bags of sugar covered by the SLDR No. 1214M were sold and transferred by STM to it ...A conclusion that there was a valid sale and transfer to plaintiff-appellee may, therefore, be made thus capacitating plaintiff-appellee to sue in its own name, without need of joining its imputed principal STM as co-plaintiff."[24]In the instant case, it appears plain to us that private respondent CSC was a buyer of the SLDFR form, and not an agent of STM. Private respondent CSC was not subject to STM's control. The question of whether a contract is one of sale or agency depends on the intention of the parties as gathered from the whole scope and effect of the language employed.[25] That the authorization given to CSC contained the phrase "for and in our (STM's) behalf" did not establish an agency. Ultimately, what is decisive is the intention of the parties.[26] That no agency was meant to be established by the CSC and STM is clearly shown by CSC's communication to petitioner that SLDR No. 1214M had been "sold and endorsed" to it.[27] The use of the words "sold and endorsed" means that STM and CSC intended a contract of sale, and not an agency. Hence, on this score, no error was committed by the respondent appellate court when it held that CSC was not STM's agent and could independently sue petitioner.
"It is understood and agreed that by payment by buyer/trader of refined sugar and/or receipt of this document by the buyer/trader personally or through a representative, title to refined sugar is transferred to buyer/trader and delivery to him/it is deemed effected and completed (stress supplied) and buyer/trader assumes full responsibility therefore..."[29]The aforequoted terms and conditions clearly show that petitioner transferred title to the sugar to the buyer or his assignee upon payment of the purchase price. Said terms clearly establish a contract of sale, not a contract to sell. Petitioner is now estopped from alleging the contrary. The contract is the law between the contracting parties.[30] And where the terms and conditions so stipulated are not contrary to law, morals, good customs, public policy or public order, the contract is valid and must be upheld.[31] Having transferred title to the sugar in question, petitioner is now obliged to deliver it to the purchaser or its assignee.