XML 50 R38.htm IDEA: XBRL DOCUMENT
v3.5.0.2

Note 7 - Long Term Debt (Details Textual) |  |  |  | 3 Months Ended | 6 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Mar. 24, 2016 USD ($) | Aug. 02, 2013 USD ($) $ / shares shares | Oct. 31, 2011 USD ($) | Mar. 31, 2016 USD ($) | Jun. 30, 2016 USD ($) | Dec. 31, 2015 USD ($) | May 23, 2016 USD ($) | Jul. 28, 2014 USD ($)
Revised Loan Agreement [Member] | PNC Bank [Member] | After March 23, 2019 [Member] |  |  |  |  |  |  |  |  |
Debt Instrument Percentage of Total Finacing to be Paid Upon Early Retirement of Debt Obligations |  | 0.00% |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | On or Before March 23, 2017 [Member] |  |  |  |  |  |  |  |  |
Debt Instrument Percentage of Total Finacing to be Paid Upon Early Retirement of Debt Obligations |  | 1.00% |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | After March 23, 2017 But Prior to or on March 23, 2018 [Member] |  |  |  |  |  |  |  |  |
Debt Instrument Percentage of Total Finacing to be Paid Upon Early Retirement of Debt Obligations |  | 0.50% |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | After March 23, 2018 But Prior to or on March 23, 2019 [Member] |  |  |  |  |  |  |  |  |
Debt Instrument Percentage of Total Finacing to be Paid Upon Early Retirement of Debt Obligations |  | 0.25% |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 2.25% |  |  |  | 3.50% |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 3.25% |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Periodic Payment, Principal |  | $ 101,600 |  |  | $ 190,000 |  |  |  |
Long-term Debt |  | $ 6,100,000 |  |  |  |  |  |  |
Debt Instrument, Term |  | 5 years |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 1.75% |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 2.75% |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | $ 12,000,000 |  |  |  |  |  |  |
Release of Borrowing Reduction on Line of Credit |  | 1,000,000 |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Interest Expense [Member] |  |  |  |  |  |  |  |  |
Gain (Loss) on Extinguishment of Debt |  |  |  |  |  | $ (68,000) |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Selling, General and Administrative Expenses [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  | $ 5,000 |
Revised Loan Agreement [Member] | PNC Bank [Member] |  |  |  |  |  |  |  |  |
Payments of Debt Issuance Costs |  | $ 70,000 |  |  |  |  |  |  |
Debt Instrument, Termination Notice |  | 90 days |  |  |  |  |  |  |
Line of Credit Facility, Remaining Borrowing Capacity |  |  |  |  |  | 1,763,000 |  |  |
Debt Instrument, Covenant, Fixed Charge Coverage Ratio |  |  |  |  | 1.15 |  |  |  |
Promissory Note Dated August 2, 2013 [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Unamortized Discount |  |  |  |  |  | 7,000 | $ 50,000 |  |
Term Loan [Member] |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  |  | 115,000 | 152,000 |  |
Amended Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  | 2.50% |  |  |  |  |
Amended Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  | 3.50% |  |  |  |  |
Amended Loan Agreement [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  | 2.00% |  |  |  |  |
Amended Loan Agreement [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  | 3.00% |  |  |  |  |
Amended Loan Agreement [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  | $ 12,000,000 |  |  |  |  |
Amendment 4 [Member] | PNC Bank [Member] | Term Loan [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Periodic Payment, Principal |  |  |  | 190,000 |  |  |  |  |
Long-term Debt |  |  |  | $ 16,000,000 |  |  |  |  |
Debt Instrument, Term |  |  |  | 7 years |  |  |  |  |
Amendment 6 [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility Reduction |  |  |  |  |  | 500,000 |  |  | $ 1,500,000
Term Loan [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Periodic Payment, Principal |  |  |  |  |  | 102,000 | 102,000 |  |
Long-term Debt | [1] |  |  |  |  | 5,675,000 | 6,514,000 |  |
Promissory Note Dated August 2, 2013 [Member] | Lenders [Member] |  |  |  |  |  |  |  |  |
Proceeds from Issuance of Long-term Debt |  |  | $ 3,000,000 |  |  |  |  |  |
Number of Shares Issued to Each Lender on Warrant | shares |  |  | 35,000 |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares |  |  | $ 2.23 |  |  |  |  |  |
Number of Shares Received by each Lender | shares |  |  | 45,000 |  |  |  |  |  |
Promissory Note Dated August 2, 2013 [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Periodic Payment, Principal |  |  |  |  |  | 125,000 | 125,000 |  |
Long-term Debt |  |  |  |  |  | 243,000 | 950,000 |  |
Long-term Debt |  |  |  |  |  | $ 10,814,000 | $ 9,836,000 |  |
Debt Instrument, Annual Spending Limit for Capital Spending |  | $ 3,000,000 |  | $ 6,000,000 |  |  |  |  |
[1] | Net of debt issuance costs of ($115,000) and ($152,000) at June 30, 2016 and December 31, 2015, respectively.

X
- Definition The maximum amount that can be drawn in a given year for capital spending. + References No definition available. + Details
Name: | pesi_DebtInstrumentAnnualSpendingLimitForCapitalSpending
Namespace Prefix: | pesi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fixed charge coverage ratio required under the debt convenant. + References No definition available. + Details
Name: | pesi_DebtInstrumentCovenantFixedChargeCoverageRatio
Namespace Prefix: | pesi_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Upon early retirement of debt obligations, the percentage of total financing to be paid as a fee. + References No definition available. + Details
Name: | pesi_DebtInstrumentPercentageOfTotalFinacingToBePaidUponEarlyRetirementOfDebtObligations
Namespace Prefix: | pesi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of days' prior written notice upon payment in full of outstanding obligations to terminate agreement. + References No definition available. + Details
Name: | pesi_DebtInstrumentTerminationNotice
Namespace Prefix: | pesi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the amount of line of credit facility reduction of borrowing availability. + References No definition available. + Details
Name: | pesi_LineOfCreditFacilityReduction
Namespace Prefix: | pesi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the number of shares issued to each lender on warrant. + References No definition available. + Details
Name: | pesi_NumberOfSharesIssuedToEachLenderOnWarrant
Namespace Prefix: | pesi_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the number of shares received by each lender. + References No definition available. + Details
Name: | pesi_NumberOfSharesReceivedByEachLender
Namespace Prefix: | pesi_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount released of the borrowing reduction on the line of credit. + References No definition available. + Details
Name: | pesi_ReleaseOfBorrowingReductionOnLineOfCredit
Namespace Prefix: | pesi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + References Reference 1: 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.22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: 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.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=64930739&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 Reference 2: 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.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=49170532&loc=d3e12317-112629 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=49170532&loc=d3e12355-112629 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: 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(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: 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(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 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(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDebtIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from a debt initially having maturity due after one year or beyond the operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3255-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 + Details
Name: | us-gaap_ProceedsFromIssuanceOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_RevisedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=pesi_PNCBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=pesi_AfterMarch232019Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=pesi_OnOrBeforeMarch232017Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=pesi_AfterMarch232017ButPriorToOrOnMarch232018Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=pesi_AfterMarch232018ButPriorToOrOnMarch232019Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=pesi_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingGeneralAndAdministrativeExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_PromissoryNoteDatedAugust22013Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_AmendedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_Amendment4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_Amendment6Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=pesi_PromissoryNoteDatedAugust22013Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=pesi_LendersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |