I have a function on my model that check active status in equipment_station table,
originally it only checked one status, now i need to pass a parameter to the model with active or inactive values, I've tried this with no success.
How can i change the parameter in the model, I send status from controller as inactive or active.
thanks in advance

