Added inventory check for dealers