Summary of Selected Quarterly Financial Data (unaudited) (Details) - Quarterly Financial Data - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Jul. 31, 2016 |
Apr. 30, 2016 |
Jan. 31, 2016 |
Oct. 31, 2015 |
Jul. 31, 2015 |
Apr. 30, 2015 |
Jan. 31, 2015 |
Oct. 31, 2014 |
Jul. 31, 2016 |
Jul. 31, 2015 |
Jul. 31, 2014 |
|
Quarterly Financial Data [Abstract] | |||||||||||
Total revenues | $ 26,603 | $ 26,433 | $ 24,560 | $ 25,177 | $ 25,697 | $ 23,986 | $ 23,092 | $ 24,824 | |||
Gross profit | 12,085 | 11,445 | 10,819 | 11,234 | 11,317 | 10,483 | 10,028 | 10,999 | |||
Income (loss) before income taxes | 37,068 | (2,113) | 7,039 | 4,521 | 8,523 | (3,003) | (4,206) | (3,606) | $ 46,515 | $ (2,292) | $ (9,905) |
Net income (loss) | $ 36,135 | $ (2,115) | $ 6,832 | $ 4,434 | $ 8,442 | $ (2,907) | $ (4,091) | $ (3,729) | $ 45,286 | $ (2,285) | $ (9,977) |
Basic and diluted (loss) income per common share (in Dollars per share) | $ 0.18 | $ (0.06) | $ (0.09) | $ (0.08) | |||||||
Basic income (loss) per common share (in Dollars per share) | $ 0.78 | $ (0.05) | $ 0.15 | $ 0.10 | $ 0.98 | $ (0.05) | $ (0.23) | ||||
Diluted income (loss) per common share (in Dollars per share) | $ 0.77 | $ (0.05) | $ 0.15 | $ 0.10 | $ 0.97 | $ (0.05) | $ (0.23) |
X | ||||||||||
- Definition The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements. Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period. Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. No definition available.
|
X | ||||||||||
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). Reference 1: http://www.xbrl.org/2003/role/presentationRef
|