Reply To: Hide occupied ressources from search result

Hk!

Found it 🙂

Don´t know why my main editor can´t find it. used Textpad and it was found.

But have a last little question.

At the moment I insert this code

———–
if(!easyreservations_auto_approve($res, false)) $room->error =”00VOLL BELEGT”;
——————-

This means, if room is occupied it´s still in search result list, but book now button disappers and error “Voll Belegt” is displayed.

My question: How can I hide the whole occupied ressource instead of displaying error message?

Best regards,
Kai