[cogenda-web] - Refactor web controller gen_vendor