I think this condition will be used several times (in Order list, etc.), shouldn't it be intesresting to put it in a macro?