XML 129 R113.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Subsequent Events - Narrative (Details) - USD ($) |  |  |  | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | ---
Aug. 25, 2017 | Aug. 18, 2017 | Oct. 11, 2016 | Jun. 30, 2017 | Jun. 30, 2016 | Mar. 02, 2015
Subsequent Events [Line Items] |  |  |  |  |  |
Preferred Stock, Par or Stated Value Per Share |  |  |  | $ 1.00 | $ 1 |
Line of Credit Facility, Revolving Loan Commitment, Accordion Feature |  |  |  |  |  | $ 50,000,000
China Mist Brands, Inc [Member] |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Purchase consideration |  |  | $ 12,236,000 | $ 12,200,000 |  |
Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares |  | 21,000 |  |  |  |
Subsequent Event | Boyd Coffee Co. [Member] |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Preferred Stock, Par or Stated Value Per Share |  | $ 1,000.00 |  |  |  |
Preferred Stock, Dividend Rate, Percentage |  | 3.50% |  |  |  |
Year 1 [Member] | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares |  | 4,200 |  |  |  |
Year 2 [Member] | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares |  | 6,300 |  |  |  |
Year 3 [Member] | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares |  | 10,500 |  |  |  |
Revolving Credit Facility | Loan and Security Agreement [Member] | Minimum |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Commitment Fee Percentage |  |  |  | 0.25% |  |
Revolving Credit Facility | Loan and Security Agreement [Member] | Maximum |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Commitment Fee Percentage |  |  |  | 0.375% |  |
Revolving Credit Facility | Amended Credit Agreement [Member] | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Revolving Loan Commitment, Accordion Feature | $ 50,000,000 |  |  |  |  |
Line of Credit Facility, Commitment Fee Percentage | 0.25% |  |  |  |  |
JP Morgan and SunTrust [Member] | Revolving Credit Facility | Loan and Security Agreement [Member] |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  | $ 75,000,000.0 |  |
JP Morgan and SunTrust [Member] | Revolving Credit Facility | Amended Credit Agreement [Member] | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity | $ 125,000,000.0 |  |  |  |  |
Line of Credit Facility, Interest Rate Description | 0.00375 |  |  |  |  |
JP Morgan Chase [Member] | Revolving Credit Facility | Amended Credit Agreement [Member] | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity | $ 75,000,000.0 |  |  |  |  |
Sun Trust [Member] | Revolving Credit Facility | Amended Credit Agreement [Member] | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity | $ 50,000,000.0 |  |  |  |  |
Trade Accounts Receivable | Revolving Credit Facility | Amended Credit Agreement [Member] | Minimum | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Collateral | .85 |  |  |  |  |
Trade Accounts Receivable | Revolving Credit Facility | Amended Credit Agreement [Member] | Maximum | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Collateral | 0.9 |  |  |  |  |
Real estate | Revolving Credit Facility | Amended Credit Agreement [Member] | Minimum | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Collateral | 25.0 |  |  |  |  |
Line of Credit Facility, Eligible Collateral, Fair Value | 75.00% |  |  |  |  |
Real estate | Revolving Credit Facility | Amended Credit Agreement [Member] | Maximum | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Collateral | 60.0 |  |  |  |  |
Line of Credit Facility, Eligible Collateral, Fair Value | 75.00% |  |  |  |  |
London Interbank Offered Rate (LIBOR) | Loan and Security Agreement [Member] | Minimum | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Description | Adjusted LIBO Rate + 1.25% |  |  |  |  |
London Interbank Offered Rate (LIBOR) | Loan and Security Agreement [Member] | Maximum | Subsequent Event |  |  |  |  |  |
Subsequent Events [Line Items] |  |  |  |  |  |
Line of Credit Facility, Description | Adjusted LIBO Rate + 2.00% |  |  |  |  |

X
- Definition Line of Credit Facility, Eligible Collateral, Fair Value + References No definition available. + Details
Name: | farm_LineofCreditFacilityEligibleCollateralFairValue
Namespace Prefix: | farm_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of Credit Facility, Revolving Loan Commitment, Accordion Feature + References No definition available. + Details
Name: | farm_LineofCreditFacilityRevolvingLoanCommitmentAccordionFeature
Namespace Prefix: | farm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Discussion of whether the borrowings under the credit facility are secured or unsecured and, if secured, a description of collateral (for example, accounts receivable less than 120 days old, finished goods inventory). + 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(b)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 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(19)(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: 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(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 5: 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 Reference 6: 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(13)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_LineOfCreditFacilityCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the terms of a credit facility arrangement. Terms typically include interest rate, collateral required, guarantees required, repayment requirements, and restrictions on use of assets and activities of the entity. + 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_LineOfCreditFacilityDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the interest rate for the amounts borrowed under the credit facility, including the terms and the method for determining the interest rate (for example, fixed or variable, LIBOR plus a percentage, increasing rate, timing of interest rate resets, remarketing provisions). + 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_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 The percentage rate used to calculate dividend payments on preferred stock. + References No definition available. + Details
Name: | us-gaap_PreferredStockDividendRatePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. + 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=farm_ChinaMistBrandsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=farm_BoydCoffeeCo.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | farm_TimingofTransferofEquityConsiderationtoBuyerAxis=farm_Year1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | farm_TimingofTransferofEquityConsiderationtoBuyerAxis=farm_Year2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | farm_TimingofTransferofEquityConsiderationtoBuyerAxis=farm_Year3Member
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_DebtInstrumentAxis=farm_LoanAndSecurityAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

X
- Details
Name: | us-gaap_CollateralAxis=us-gaap_TradeAccountsReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CollateralAxis=us-gaap_RealEstateMember
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: |