I'd say incredibly immature. S(he) wasn't there for that but to do his job. All the customer had to do is interact with them on a customer-server/cashier (professional) level and keep it moving. They can make up whatever reason for why they took the photo with their phone but my guess is it's still there. 


