XML 18 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Cash Flows - USD ($)
9 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Cash flows used in operating activities    
Net income (loss) $ 6,919,554 $ (6,723,849)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Amortization 3,855 1,187
Issuance of common stock for services 190,427 1,215,719
Stock based compensation from issuance of options 889,076 10,183,555
Stock based compensation from issuance of warrants 229,360 0
Changes in assets and liabilities:    
Increase in prepaid expenses (36,507) (37,233)
Decrease in accounts receivable 312,498 0
Decrease in deferred revenue (18,116) (4,300,000)
Increase (decrease) in accounts payable 1,250,196 (108,639)
Increase (decrease) in accrued salaries and wages (1,376,282) 501,536
Net cash provided by operating activities 8,364,061 732,276
Cash flows used in investing activities    
Purchase of equipment 0 (6,528)
Net cash used in investing activities 0 (6,528)
Cash flows provided by financing activities    
Proceeds from related parties notes payable 0 151,191
Repayment of related parties notes payable 0 (281,191)
Repayment of note payable (165,000) 0
Investment received in exchange for royalty agreement 0 1,333,500
Net cash provided (used) by financing activities (165,000) 1,203,500
Net increase in cash and cash equivalents 8,199,061 1,929,248
Cash and cash equivalents, beginning of period 1,481,393 434,217
Cash and cash equivalents, end of period 9,680,454 2,363,465
Supplemental disclosure    
Interest paid during the period 4,828 78,865
Taxes paid during the period 0 0
Non-Cash Transactions    
Forgiveness of related party debt 761,826 0
Cashless exercise of options $ 0 $ 15