Well I guess this payroll issue may leave you without money for a while. In the end they will give your money back, I am sure, but it will take some time. So until then you might want to read an article about how to take a loan
https://www.opptrends.com/what-is-an-emergency-loan-and-which-are-the-types-of-it/ in order not to create a hole in your pocket.