Scaffolded restaurant tip function.