Quarterly report pursuant to Section 13 or 15(d)

Basis of Presentation (Details) - Impact to consolidated statements of operations due to adoption of ASU

v3.19.1
Basis of Presentation (Details) - Impact to consolidated statements of operations due to adoption of ASU - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Jan. 31, 2019
Jan. 31, 2018
Jul. 31, 2018
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total Revenues $ 19,327 $ 26,152 $ 40,587 $ 53,028  
Selling, general and administrative expenses 11,497 11,049 22,467 21,954  
Net loss (8,408) (901) (14,389) (1,541)  
Consolidated Statements of Cash Flows January 31, 2018:          
Changes in operating assets and liabilities: Accounts receivable     1,471 206  
Consolidated balance sheet July 31, 2018:          
Accounts receivable         $ 13,292
Less: Allowance for doubtful accounts         145
Accounts receivable, net of allowance for doubtful accounts $ 11,665   $ 11,665   13,147
Previously Reported [Member]          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total Revenues   26,952   54,628  
Provision for uncollectible accounts receivable   779   1,593  
Selling, general and administrative expenses   11,070   21,961  
Net loss   (901)   (1,541)  
Consolidated Statements of Cash Flows January 31, 2018:          
Provision for uncollectible accounts receivable       1,593  
Changes in operating assets and liabilities: Accounts receivable       (1,387)  
Consolidated balance sheet July 31, 2018:          
Accounts receivable         15,815
Less: Allowance for doubtful accounts         2,668
Accounts receivable, net of allowance for doubtful accounts         13,147
Accounting Standards Update 2014-09 [Member] | Restatement Adjustment [Member]          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total Revenues   (800)   (1,600)  
Provision for uncollectible accounts receivable   (800)   (1,600)  
Consolidated Statements of Cash Flows January 31, 2018:          
Provision for uncollectible accounts receivable       (1,600)  
Changes in operating assets and liabilities: Accounts receivable       1,600  
Consolidated balance sheet July 31, 2018:          
Accounts receivable         (2,523)
Less: Allowance for doubtful accounts         $ (2,523)
Accounting Standards Update 2014-09 [Member] | Reclassification Of Residual [Member]          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Provision for uncollectible accounts receivable   21   7  
Selling, general and administrative expenses   $ (21)   (7)  
Consolidated Statements of Cash Flows January 31, 2018:          
Provision for uncollectible accounts receivable       7  
Changes in operating assets and liabilities: Accounts receivable       $ (7)