XML 69 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
6 Months Ended
Dec. 31, 2019
Dec. 31, 2018
CASH FLOWS FROM OPERATING ACTIVITIES    
Net loss $ (11,640,375) $ (2,723,452)
Adjustments to reconcile net loss from operating activities to net cash used in operating activities    
Stock-based compensation 468,604 377,458
Change in allowance for doubtful accounts (36,018) (154,364)
Inventory write-down 818,099 0
Depreciation and amortization 2,410,802 1,890,715
(Gain) loss on disposal of property, plant and equipment (13,075) 3,463
Change in foreign exchange contracts (73,677) 2,626
Change in estimated value of assets held for sale 92,931 0
Loss on extinguishment of debt 140,638 0
Amortization of debt discount 297,712 135,392
Changes in:    
Accounts receivable 3,169,182 (8,336,183)
Unbilled accounts receivable (524,511) (11,206,984)
Inventories (5,193,721) (21,513,547)
Prepaid expenses and other current assets 16,829 123,752
Other non-current asset 31,935 0
Accounts payable 6,643,907 23,698,244
Deferred revenue 1,066,964 1,458,655
Accrued expenses and other current liabilities (943,890) 384,628
Other non-current liabilities (218,475) (40,855)
Net cash used in operating activities (3,486,139) (15,900,452)
CASH FLOWS FROM INVESTING ACTIVITIES    
Additions to property, plant and equipment (1,447,549) (336,623)
Proceeds from disposal of property, plant and equipment 20,075 24,106
Proceeds from sale of assets held for sale 1,757,069 0
Additions to internal use software 0 (43,000)
Acquisition of business, net of cash acquired 0 (26,354,951)
Acquisition of wheat assets (2,633,000) 0
Net cash used in investing activities (2,303,405) (26,710,468)
CASH FLOWS FROM FINANCING ACTIVITIES    
Net proceeds from sale of common stock 0 4,927,682
Net proceeds from sale of preferred stock 0 22,420,462
Taxes paid related to net share settlements of stock-based compensation awards (16,177) (25,497)
Borrowings and repayments on lines of credit, net 6,648,102 14,299,326
Borrowings of long-term debt 258,721 2,369,071
Debt issuance costs (879,655) (354,589)
Repayments of long-term debt (1,147,447) (2,682,056)
Net cash provided by financing activities 4,863,544 40,954,399
EFFECT OF EXCHANGE RATE CHANGES ON CASH (152,730) (192,992)
NET INCREASE (DECREASE) IN CASH & CASH EQUIVALENTS (1,078,730) (1,849,513)
CASH AND CASH EQUIVALENTS, beginning of the period 3,431,802 4,320,894
CASH AND CASH EQUIVALENTS, end of period 2,353,072 2,471,381
Cash paid during the period for:    
Interest 825,121 1,106,256
Income taxes $ 76,878 $ 13,304