2.4.0.80019 - Disclosure - 11. Debttruefalsefalse1false falsefalseFrom2013-01-01to2013-06-30http://www.sec.gov/CIK0001024126duration2013-01-01T00:00:002013-06-30T00:00:001true 1us-gaap_DebtDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_DebtDisclosureTextBlockus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00<p style="font: 8pt Times New Roman, Times, Serif; margin: 8pt 0; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">Debt consists of the following:</font></p> <table cellspacing="0" cellpadding="0" style="font: 8pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse"> <tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif"> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td colspan="2" style="border-bottom: windowtext 1pt solid; font: 8pt Times New Roman, Times, Serif"><p style="font: 8pt Times New Roman, Times, Serif; margin: 0; text-align: center"><font style="font: 8pt Times New Roman, Times, Serif"><b>June 30, </b></font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 0; text-align: center"><font style="font: 8pt Times New Roman, Times, Serif"><b>2013</b></font></p></td> <td style="font: 8pt Times New Roman, Times, Serif; text-align: center"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td colspan="2" style="border-bottom: windowtext 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: center"><font style="font: 8pt Times New Roman, Times, Serif"><b>December 31, &#160;&#160;&#160;&#160;&#160;2012</b></font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td></tr> <tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif"> <td style="width: 69%; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Amounts outstanding under the Credit Facility &#150; MidCap Funding V, LLC</font></td> <td style="width: 3%; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="width: 2%; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td> <td style="width: 10%; border-top: windowtext 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: right"><font style="font: 8pt Times New Roman, Times, Serif">23,360,809</font></td> <td style="width: 3%; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="width: 2%; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td> <td style="width: 10%; text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">42,000,000</font></td> <td style="width: 1%; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td></tr> <tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif"> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Stancorp Mortgage </font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">1,516,198</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">1,580,748</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td></tr> <tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif"> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Capital leases (see Note 16)</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">9,087</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">55,328</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td></tr> <tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif"> <td style="padding-top: 2pt; padding-left: 17.3pt; text-indent: -8.65pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Total debt</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="border-top: windowtext 1pt solid; border-bottom: windowtext 1.5pt double; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td> <td style="border-top: windowtext 1pt solid; border-bottom: windowtext 1.5pt double; font: 8pt Times New Roman, Times, Serif; text-align: right"><font style="font: 8pt Times New Roman, Times, Serif">24,886,094</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="border-top: windowtext 1pt solid; border-bottom: windowtext 1.5pt double; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td> <td style="border-top: windowtext 1pt solid; border-bottom: windowtext 1.5pt double; font: 8pt Times New Roman, Times, Serif; text-align: right"><font style="font: 8pt Times New Roman, Times, Serif">43,636,076</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td></tr> <tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif"> <td style="padding-top: 2pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td></tr> <tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif"> <td style="padding-top: 2pt; padding-left: 17.3pt; text-indent: -8.65pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Debt &#150; current</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">18,471,787</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">2,286,513</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td></tr> <tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif"> <td style="padding-top: 2pt; padding-left: 17.3pt; text-indent: -8.65pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Debt &#150; long term</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">6,414,307</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td> <td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">41,349,563</font></td> <td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></td></tr> </table> <p style="font: 8pt Times New Roman, Times, Serif; margin: 0"><font style="font: 8pt Times New Roman, Times, Serif"><i>&#160;</i></font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 0"><font style="font: 8pt Times New Roman, Times, Serif"><i>Credit Facility &#150; MidCap Funding V, LLC</i></font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 5pt 0; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">In connection with the purchase of all of the capital stock of Cypress, the Company, together with its subsidiaries, entered into a Credit and Guaranty Agreement, dated December 31, 2012, with MidCap Funding V, LLC, as administrative agent, a lender and as a co-bookrunner, and Business Development Corporate of America, as co-bookrunner, and additional lenders from time to time party thereto (the &#147;Original Credit Agreement&#148;). The Original Credit Agreement provided for a term credit facility of $42 million. Subject to certain permitted liens, the obligations under this facility were secured by a first priority perfected security interest in substantially all of the assets of the Company and its subsidiaries. The proceeds from this facility were used to fund a portion of the cash consideration of the acquisition of Cypress.</font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 5pt 0; text-align: justify; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">The Original Credit Agreement was subject to certain financial and nonfinancial covenants that were significantly more onerous than the covenants under our prior facility with Regions, and also contained customary representations and warranties and event of default provisions for a secured credit facility.</font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">The facility bore interest at a rate equal to the sum of the LIBOR rate plus an applicable margin of 6.50% per annum (9.0% at April 30). The Company was required to make quarterly repayments beginning on March 31, 2013 and ending on December 31, 2017, when all remaining principal was due and payable. In addition, the Company was able to voluntarily repay outstanding amounts under the Original Credit Agreement at any time without premium or penalty. On May 8, 2013, the Company, together with its subsidiaries, entered into the Amended and Restated Credit Agreement (the &#147;Restated Credit Agreement&#148;) with MidCap Financial, LLC, as Administrative Agent and as a lender, and additional lenders from time to time party thereto. The Restated Credit Agreement amends and restates in its entirety the Original Credit Agreement.</font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 5pt 0; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">The Restated Credit Agreement provides for a term loan of $10 million and a revolving loan commitment of $20 million. In connection with the entry into the Restated Credit Agreement, the Company prepaid approximately $12 million of the term loan that had been previously outstanding under the Original Credit Agreement. Under the Restated Credit Agreement, the Company&#146;s borrowing base on the revolving loan commitment is equal to (A) 85% of eligible accounts, plus (B) 50% of eligible inventory, minus (C) certain reserves and/or adjustments, subject to certain conditions and limitations. Notwithstanding the foregoing, the Restated Credit Agreement provides an advance of up to $3 million in excess of the Company&#146;s borrowing base until June 5, 2013, at which time all excess amounts, were paid. As of June 30, 2013, the outstanding balance under the term loan was approximately $7.7 million and the outstanding balance under the revolver was approximately $15.7 million. The Company has approximately $4.3 million of remaining available funds as of June 30, 2013.</font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 5pt 0; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">Unlike the Original Credit Agreement, the Restated Credit Agreement does not include covenants limiting capital expenditures or requiring the Company to maintain a fixed charge coverage ratio and leverage ratio, but rather contains covenants requiring the Company to maintain a minimum amount of EBITDA and net invoiced revenues. Similar to the Original Credit Agreement, the Restated Credit Agreement includes customary covenants for a secured credit facility, which include, among other things, (a) restrictions on (i) the incurrence of indebtedness, (ii) the creation of or existence of liens, (iii) the incurrence or existence of contingent obligations, (iv) making certain dividends or other distributions, (v) certain consolidations, mergers or sales of assets and (vi) purchases of assets, investments and acquisitions; and (b) requirements to deliver financial statements, reports and notices to the administrative agent and other lenders. The Restated Credit Agreement also contains customary representations and warranties and event of default provisions for a secured credit facility.</font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 5pt 0; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">The loans under this facility bear interest at a rate equal to the sum of the LIBOR rate plus an applicable margin of 7.50% per annum. Pursuant to the Restated Credit Agreement, the Company paid certain customary fees to the administrative agent and lenders.</font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">Under the Restated Credit Agreement, we are required to make monthly repayments of $333,333 on the term loan beginning on November 7, 2013 and ending on May 7, 2016, when all remaining principal is due and payable. Approximately $2,300,000 of the proceeds from the sale of TherapeuticsMD stock were utilized to pay down the term loan in June 2013. The revolving loan will be paid based on our cash receipts through a lockbox arrangement, with all principal due and payable on May 7, 2016. In addition, we are able to voluntarily prepay outstanding amounts under the revolving loan commitment at any time, subject to certain prepayment penalties. Pernix paid net funds on the revolving loan of approximately $3,842,000 during the three and six months ended June 30, 2013.</font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 9pt 0 0; text-indent: 24.5pt"><font style="font: 8pt Times New Roman, Times, Serif">As with the Original Credit Agreement, the obligations under the Restated Credit Agreement are secured by a first priority perfected security interest in substantially all of the assets of the Company and its subsidiaries, subject to certain permitted liens. The May 2013 amendments described above were treated as a modification of debt under GAAP, and the Company expensed $630,000 of deferred financing fees and recorded approximately $524,000 of new deferred financing fees for the three and six months ended June 30, 2013.</font></p> <p style="font: 8pt/11pt Times New Roman, Times, Serif; margin: 8pt 0 0"><font style="font: 8pt Times New Roman, Times, Serif"><i>Mortgage</i></font></p> <p style="font: 8pt/11pt Times New Roman, Times, Serif; margin: 8pt 0 0; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">Certain real estate acquired in the acquisition of GSL is encumbered by a mortgage that the Company assumed. The monthly fixed payment under this mortgage, including principal and interest, is approximately $19,000 until February 1, 2022. This mortgage is included under the caption <i>Debt &#150; short term</i> and <i>Debt &#150; long term</i> on the Condensed Consolidated Balance Sheets as of June 30, 2013 and December 31, 2012. The outstanding mortgage balance is $1,516,198 and $1,580,747 as of June 30, 2013 and December 31, 2012, respectively.&#9;</font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 5pt 0; text-align: justify; text-indent: 0.5in"><font style="font: 8pt Times New Roman, Times, Serif">&#160;</font></p> <p style="font: 8pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"></p>falsefalsefalsenonnum:textBlockItemTypenaThe entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21475-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 20, 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19,20,22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 false0false11. DebtUnKnownUnKnownUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/Debt12