XML 15 R59.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Equity Investment (Detail) - TH2 - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2019
Oct. 31, 2018
Jul. 31, 2019
Schedule of Equity Method Investments [Line Items]      
Losses from investment $ 2,095 $ 1,483  
Loan to joint venture 1,534    
Loan to joint venture, outstanding balance $ 3,691   $ 2,157