I have the following code where to order a table with a correlative, but I want if this state is completed it does not respect the correlative example: if I remove the corre