Annual report pursuant to Section 13 and 15(d)

Summary of Selected Quarterly Financial Data (unaudited) (Details) - Schedule of unaudited quarterly financial data

v3.20.2
Summary of Selected Quarterly Financial Data (unaudited) (Details) - Schedule of unaudited quarterly financial data - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Jul. 31, 2020
Apr. 30, 2020
Jan. 31, 2020
Oct. 31, 2019
Jul. 31, 2019
Apr. 30, 2019
Jan. 31, 2019
Oct. 31, 2018
Jul. 31, 2020
Jul. 31, 2019
Jul. 31, 2018
Schedule of unaudited quarterly financial data [Abstract]                      
Total revenues $ 19,527 $ 16,903 $ 19,384 $ 20,207 $ 20,921 $ 19,662 $ 19,327 $ 21,260      
Gross profit 7,850 4,425 5,809 5,686 6,346 5,302 4,579 7,021      
Income (loss) before income taxes (3,325) (9,860) (7,687) (7,648) (5,390) 22,265 (8,408) (5,978) $ (28,520) $ 2,489 $ (11,418)
Net income (loss) $ (3,325) $ (9,860) $ (7,687) $ (7,648) $ (5,390) $ 22,265 $ (8,408) $ (5,978) $ (28,520) $ 2,489 $ (10,321)
Basic and diluted loss per common share (in Dollars per share) $ (0.07) $ (0.21) $ (0.16) $ (0.16) $ (0.11) $ 0.47 $ (0.18) $ (0.13)