7. Notes Payable (Details-Notes Payable) - USD ($) |
Dec. 31, 2016 |
Dec. 31, 2015 |
---|---|---|
Notes payable, balance outstanding | $ 9,011,247 | $ 3,172,929 |
Less: current portion | (9,011,247) | (269,031) |
Notes payable, net of current portion | 0 | 2,903,898 |
Note payable 1 [Member] | ||
Notes payable, balance outstanding | 5,000,000 | 0 |
Note payable 2 [Member] | ||
Notes payable, balance outstanding | 3,000,000 | 3,000,000 |
Unamortized discount | 0 | (453,025) |
Derivative liabiltiy, fair value | 409,524 | 186,117 |
Note payable 3 [Member] | ||
Notes payable, balance outstanding | 341,612 | 341,612 |
Note payable 4 [Member] | ||
Notes payable, balance outstanding | 0 | 100,000 |
Unamortized discount | 0 | (1,775) |
Note payable 5 [Member] | ||
Notes payable, balance outstanding | $ 440,000 | $ 0 |
X | ||||||||||
- Definition Amount, after accumulated amortization, of debt discount. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Carrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Sum of the carrying values as of the balance sheet date of the portions of long-term notes payable due within one year or the operating cycle if longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|