A supermarket accounts manager who stole more than £15,000 from the family-run business just to make ends meet has narrowly escaped going to prison.