modified bean purchase form to use BEAN_TYPES static from models