XML 41 R30.htm IDEA: XBRL DOCUMENT v3.19.2
Net income (loss) per share (Details) - shares
3 Months Ended 9 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2019
Apr. 30, 2018
Unvested Restricted Stock [Member] | In the Money Stock Options [Member]        
Net income (loss) per share (Details) [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount   431,000   694,000
Outstanding Options [Member] | Out of the Money Stock Options [Member]        
Net income (loss) per share (Details) [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 1,640,000 581,000 1,541,000 194,000