(ii) If, when the trial occurs, it appears to the satisfaction of the court, that the rent, or any part of the rent and late fees are actually due and unpaid, the court shall determine the amount of rent and late fees due as of the date the complaint was filed less the amount of any utility bills, fees, or security deposits paid by a tenant under § 7–309 of the Public Utilities Article, if the trial occurs within the time specified by subsection (b)(4) of this section.
(iii) 1. If the trial does not occur within the time specified in subsection (b)(4)(i) of this section and the tenant has not become current since the filing of the complaint, the court, if the complaint so requests, shall enter a judgment in favor of the landlord for possession of the premises and determine the rent and late fees due as of the trial date.
2. The determination of rent and late fees shall include the following:
A. Rent claimed in the complaint;
B. Rent accruing after the date of the filing of the complaint;
C. Late fees accruing in or prior to the month in which the complaint was filed; and
D. Credit for payments of rent and late fees and other fees, utility bills, or security deposits paid by a tenant under § 7–309 of the Public Utilities Article after the complaint was filed.
(iv) In the case of a residential tenancy, the court may also give judgment in favor of the landlord for the amount of rent and late fees determined to be due together with costs of the suit if the court finds that the residential tenant was personally served with a summons.