Help!

I'm strictly breastfeeding, but my pump broke at work and I don't have money to buy another one, right now since I have just returned back to work, is it okay if we feed my three month old formula while I'm at work and breast when I'm home?(I'm only working two days or so a week)