Restaurant Brands Inc.’s Tim Hortons will provide up to $40 million in funding for its employees affected by the spread of the COVID-19 pandemic, the company announced Tuesday.

The funding will be sourced equally from the coffee-and-doughnut chain’s 1,500 restaurant owners as well as the company’s corporate office, Tim Hortons said in a release.

“We don’t want any team member affected by COVID-19 coming to work sick, and we don’t want them isolated at home worrying about how to support themselves and their families,” said Duncan Fulton, chief corporate officer at Tim Hortons, in an emailed statement.

Tim Hortons said it will provide compensation for up to 14 days of scheduled work hours for any hourly employee. The company said it would also work with governments to provide support for staff, but didn’t provide specifics.

The company faced online backlash last week after Press Progress, a non-profit news organization founded by the Broadbent Institute, said that some of Tim Hortons’ workers would require a doctor’s note to take unpaid sick leave as the coronavirus outbreak began to rapidly spread across Canada.

Tim Hortons announced on Monday that due to COVID-19, it would close seating inside most restaurants until further notice, while continuing to serve customers through drive-thru, take-out and delivery services.