In most Indian & Pakistani places, yes. There are some exceptions.
The owner of Raavi on Jackson St takes the cash tips placed in the Tip Jar at closing (so the waiters don't get it even if it's cash). The owners of Little Delhi on Eddy St near the Westfields Mall take all the cash tips for themselves and don't allow the waitstaff to take cash from the patron. I tried giving it to the girl and she said they are not allowed to accept it. So I don't leave anything on card or cash when I eat at Little Delhi.
I feel bad exposing these guys cos the owners are good friends, but this is just plain wrong.
This is the reason I give cash, in person, to the person. Only way to ensure 100% that waitress or waiter gets the $. When I tried that at Little Delhi, the girl said "We are not allowed to take cash" and that's when I found out that the owner eat all the credit card tips, and cash tips placed inside the bill / check folder.