Some of the restaurants have ticket vending machines outside the shop. This avoids the need for a cashier inside the restaurant. It also mostly avoids the process of staff taking your order. Purchase your meal ticket from machine outside, hand ticket to cook as you enter, and take your seat.
Most of the ticket vending machines do take cash, but if they wanted to eliminate tourists then that would be an easy change to make.