Income taxes (Details) - Components of income (loss) before income taxes - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Jul. 31, 2018 |
Jul. 31, 2017 |
Jul. 31, 2016 |
|
Income taxes (Details) - Components of income (loss) before income taxes [Line Items] | |||
Income (loss) before taxes | $ (11,418) | $ (2,504) | $ 46,360 |
Domestic Tax Authority [Member] | |||
Income taxes (Details) - Components of income (loss) before income taxes [Line Items] | |||
Income (loss) before taxes | (9,540) | (212) | 48,692 |
Foreign Tax Authority [Member] | |||
Income taxes (Details) - Components of income (loss) before income taxes [Line Items] | |||
Income (loss) before taxes | $ (1,878) | $ (2,292) | $ (2,332) |
X | ||||||||||
- References No definition available.
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|