The prank at the repair centre in Dalkeith, Midlothian, is alleged to have been carried out in front of another customer.