In cash basis accounting, revenue is recognized, when cash is received, no matter, when the service is completed or the goods are sold.
In cash basis accounting revenues are simply recognized when cash is received no matter when and how the services were performed or goods delivered. Revenue is earned when the service is completed or the goods are sold.