How can I combine inventory and quantity discount in one form?