How can I adjust delivery dates for specific vendors?

Hello, I have implemented a delivery date system at the cart section, and there is a certain vendor that needs more than 1 day to prepare the product. Here is the following code:


It doesnt seem to work for me, can anyone help?