A Chilean office worker has won a legal battle against his employer after resigning from his job following a massive…