Although a defendant in a civil suit at law has a right to plead to the merits at any time before a default is entered against him (Craig Co. v. Pierson Lumber Co., 179 Ala. 535,60 So. 838), a demurrer to the complaint is not a plea to the merits (Black v. Smith Lumber Co., 179 Ala. 397, 60 So. 154) ; and the filing of a demurrer after the time prescribed by law is a privilege to be accorded or denied within the sound discretion of the trial judge, a discretion not revisable on appeal.
The summons in this case was served on the defendants on October 20, 1917, requiring him to plead or demur to the complaint within 30 days, as prescribed by the act of September 28, 1915 (Gen. Acts 1915, p. 825), which has superseded section 5346 and section 5347 of the Code; and the demurrer to the complaint was not filed until December 31, 1917. Hence the trial court cannot be put in error for striking the demurrer from the file on motion. This rule is impliedly recognized in Bufford v. Chambers, 148 Ala. 442, 42 So. 597.
Conceding, without deciding, that count 1 of the complaint does not state a cause of action, other counts are clearly sufficient in that respect, and are not even subject to demurrer (McLane v. Tighe, 89 Ala. 411, 8 So. 70); so that defendant has not in fact been prejudiced by the striking of his demurrer.
A witness may testify to a party's good or bad credit as a collective fact, if it appears that he is qualified to do so by his knowledge of the subject. Pollock v. Gantt, 69 Ala. 373,378, 44 Am. Rep. 519. And when a party testifies to his own credit, as he may undoubtedly do, a proper predicate should be first laid by showing his knowledge thereof.
The objections in this case were not addressed to the competency of plaintiff as a witness, but only to the illegality of his testimony, and were therefore overruled without error.
It is fairly inferable from plaintiff's testimony that he paid out $50 to lawyers for the defense of the attachment suit, and it appears that that was a reasonable sum for the services rendered in that behalf. That item of damage was specially claimed in count 3, and was therefore recoverable.
One of the conditions in the bond sued on was that the plaintiff in attachment should prosecute his suit to effect. The failure to do so was therefore a breach, and prima facie at least imported the absence of a just cause of action. Savage v. Gunter, 32 Ala. 467, 469; McLane v. Tighe, 89 Ala. 411,8 So. 70. The judgment entry in the attachment suit shows a verdict and judgment for the defendant in attachment on the merits of the claim sought to be enforced. This established the breach, and authorized a recovery therefor.
There was evidence before the court which tended to establish defendant's pleas of set-off, numbered 5, 6, and 7. The trial judge, however, instructed the jury that they could not find for defendant under any one of those pleas — obviously upon the theory that the pleadings and judgment entry in the original attachment suit showed a res judicata against defendant with respect to the claims here urged in set-off. Had the judgment rendered in that case for the defendant in attachment been referable to a single distinct issue which would also be decisive against the existence or enforceability of the claims presented by defendant here by way of set-off, that judgment would defeat these pleas of set-off. But in the attachment suit there were pleas of general issue, illegality of contract because made on Sunday, set-off, recoupment, and payment. Though the attachment suit was for a claim growing out of the same transaction as did the set-off claims, yet they are distinct claims for different years, and with different maturities. If the general verdict in the attachment suit was founded, as it may well have been, on the plea of set-off, or recoupment, or payment, the judgment would be no bar to the set-off claims here presented.
In that state of the attachment suit record, the burden was on the present plaintiff to show that the former judgment, here pleaded by him, was based upon an issue involving a decision of fact which would render these set-off claims invalid or unenforceable. Dobson v. Hurley, 129 Ala. 380, 30 So. 598; 15 Rawle C. L. 980, § 454. *Page 112
There is nothing in the bill of exceptions to show that such was the case, and hence we are bound to hold that the replication of res judicata to the several pleas of set-off was without support in the evidence, and that the trial judge erred in giving the affirmative instructions against defendant on those pleas.
For the error noted, the judgment will be reversed, and the cause remanded for another trial.
Reversed and remanded.
ANDERSON, C. J., and McCLELLAN and THOMAS, JJ., concur.