Notes Payable and Convertible Notes (Details Textual)
|
1 Months Ended |
3 Months Ended |
6 Months Ended |
12 Months Ended |
|
|
|
Feb. 15, 2017
USD ($)
|
Jan. 31, 2017 |
Jan. 30, 2017
USD ($)
shares
|
Jun. 30, 2017
USD ($)
shares
|
Jun. 30, 2016
USD ($)
|
Jun. 30, 2017
USD ($)
loans
shares
|
Jun. 30, 2016
USD ($)
|
Dec. 31, 2016
USD ($)
shares
|
Dec. 31, 2015
USD ($)
|
Feb. 28, 2017
USD ($)
|
Dec. 31, 2014
USD ($)
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Aggregate principal amount |
$ 89,100,000
|
|
|
|
|
|
|
|
|
|
|
| Borrowed amount |
|
|
|
|
|
$ 1,669,212
|
$ 2,150,000
|
|
|
|
|
| Loss on extinguishment of debt |
|
|
|
|
|
2,654,821
|
|
|
|
|
|
| Debt discount |
|
|
|
1,650,592
|
|
$ 1,650,592
|
|
$ 1,810,881
|
|
|
|
| Number of loans | loans |
|
|
|
|
|
3
|
|
|
|
|
|
| Unamortized issuance cost |
|
|
|
2,023,910
|
|
$ 2,023,910
|
|
1,195,797
|
|
|
|
| Convertible Notes Payable |
|
|
|
|
|
|
|
1,250,000
|
|
|
|
| Subordinated debt |
|
|
|
1,475,000
|
|
1,475,000
|
|
1,475,000
|
|
|
|
| Notes payable |
|
|
|
|
|
|
|
|
|
|
$ 526,585
|
| Reduced the loan |
|
|
|
356,891
|
|
356,891
|
|
$ 609,891
|
|
|
|
| Interest expense |
|
|
|
$ 2,229,125
|
1,146,841
|
$ 3,924,604
|
2,379,590
|
|
|
|
|
| Common stock, shares issued | shares |
|
|
|
9,368,196
|
|
9,368,196
|
|
1,712,471
|
|
|
|
| Fair value of warrants |
|
|
|
|
2,700,000
|
|
2,700,000
|
$ 1,250,000
|
$ 2,820,000
|
|
|
| Convertible Notes Payable [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Maturity date |
|
|
|
|
|
|
|
|
Dec. 31, 2020
|
|
|
| Percentage of interest rate |
|
|
|
|
|
|
|
|
8.00%
|
|
|
| Convertible Notes Payable |
|
|
|
|
|
|
|
|
$ 1,250,000
|
|
|
| Notes Payable, related party [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Amortization of debt issuance costs |
|
|
|
95,000
|
84,089
|
185,000
|
165,838
|
|
|
|
|
| Notes payable |
|
|
|
|
|
|
|
|
|
|
150,000
|
| Loans payable |
|
|
|
|
|
|
|
|
|
|
$ 376,585
|
| Interest expense |
|
|
|
2,230,000
|
1,146,841
|
3,925,000
|
2,379,590
|
|
|
|
|
| Amortization of loan fees |
|
|
|
145,000
|
54,367
|
205,000
|
107,221
|
|
|
|
|
| Interest expense on debt |
|
|
|
$ 1,990,000
|
$ 1,008,385
|
$ 3,535,000
|
$ 2,106,531
|
|
|
|
|
| Mortgage Note Payable [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Maturity date |
|
|
|
|
|
May 31, 2020
|
|
|
|
|
|
| Percentage of interest rate |
|
|
|
4.60%
|
|
4.60%
|
|
|
|
|
|
| Mortgage Note Payable To Bank [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Long term debt, description |
|
|
|
|
|
Secured by real estate and guarantee of company, bearing interest at 4.6%, due in monthly installments of $9,934, maturing May 2020
|
|
|
|
|
|
| Notes payable, secured by equipment [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Long term debt, description |
|
|
|
|
|
Bearing interest at rates from 9.25% to 9.49%, due in monthly installments of approximately $150,000 through April 2022.
|
|
|
|
|
|
| Goldman, Sachs & Co [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Percentage of interest rate |
6.50%
|
6.50%
|
|
|
|
|
|
|
|
|
|
| Warrants excercisable, term |
Dec. 22, 2023
|
|
|
|
|
|
|
|
|
|
|
| Purchase price of amount |
$ 449,553
|
|
|
|
|
|
|
|
|
|
|
| Loss on extinguishment of debt |
|
|
$ 960,000
|
|
|
|
|
|
|
|
|
| Warrant liability |
|
|
283,000
|
|
|
|
|
|
|
|
|
| Debt discount |
|
|
$ 2,160,000
|
$ 1,650,592
|
|
$ 1,650,592
|
|
1,810,881
|
|
|
|
| Debt instrument, interest rate, term |
|
|
|
|
|
The effective interest rate method over the life of the note, which is 5 years.
|
|
|
|
|
|
| Debt issuance costs |
|
|
|
|
|
|
|
|
$ 1,446,515
|
$ 1,057,950
|
|
| Unamortized issuance cost |
|
|
|
$ 2,023,910
|
|
$ 2,023,910
|
|
1,195,797
|
|
|
|
| Common stock or securities convertible into common stock for a period |
|
180 days
|
|
|
|
|
|
|
|
|
|
| Common stock, shares issued | shares |
|
|
421,326
|
|
|
|
|
|
|
|
|
| Fair value of warrants |
|
|
$ 1,243,000
|
|
|
|
|
|
|
|
|
| LIBOR Interest, description |
|
|
|
|
|
Interest on loan date plus 8%, 9.045% at June 30, 2017.
|
|
|
|
|
|
| Qualified offering, description |
|
|
(1) the Company receives aggregate gross proceeds of at least $10,000,000 and (2) the Common Stock becomes listed on The Nasdaq Capital Market, or the New York Stock Exchange.
|
|
|
|
|
|
|
|
|
| Tranche A Term Loans [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Aggregate principal amount |
65,500,000
|
|
|
|
|
|
|
|
|
|
|
| Tranche A Term Loans [Member] | Credit Agreement [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Aggregate principal amount |
25,500,000
|
|
|
|
|
|
|
|
|
|
|
| Tranche A Term Loans [Member] | Goldman, Sachs & Co [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| LIBOR Interest, description |
|
|
|
|
|
Interest on loan date plus 8%, 9.045% at June 30, 2017.
|
|
|
|
|
|
| Tranche B Term Loans [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Aggregate principal amount |
8,600,000
|
|
|
|
|
|
|
|
|
|
|
| Tranche B Term Loans [Member] | Goldman, Sachs & Co [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Percentage of interest rate |
|
|
|
11.00%
|
|
11.00%
|
|
|
|
|
|
| Multi-Draw Term Loans [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Aggregate principal amount |
10,000,000
|
|
|
|
|
|
|
|
|
|
|
| Revolving Commitments [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Aggregate principal amount |
$ 5,000,000
|
|
|
|
|
|
|
|
|
|
|
| Serve Holding Corp [Member] |
|
|
|
|
|
|
|
|
|
|
|
| Notes Payable and Convertible Notes (Textual) |
|
|
|
|
|
|
|
|
|
|
|
| Loans payable |
|
|
|
|
|
|
|
359,891
|
|
|
|
| Short term loan received |
|
|
|
|
|
|
|
$ 250,000
|
|
|
|
| Interest of short term loan |
|
|
$ 20,000
|
|
|
|
|
|
|
|
|
| Reduced the loan |
|
|
|
|
|
|
|
|
|
356,891
|
|
| Company paid back to Here to Serve Holding Corp |
|
|
|
|
|
|
|
|
|
$ 3,000
|
|