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

Selected Quarterly Financial Data (Unaudited) - Financial Data (Details) - USD ($) $ / shares in Units, $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2018 | Mar. 31, 2018 | Dec. 31, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2016 | Sep. 30, 2016 | Jun. 30, 2018 | Jun. 30, 2017 | Jun. 30, 2016
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net sales | $ 149,538 | $ 157,927 | $ 167,366 | $ 131,713 | $ 133,800 | $ 138,187 | $ 139,025 | $ 130,488 | $ 606,544 | $ 541,500 | $ 544,382
Cost of goods sold | 96,939 | 105,716 | 111,175 | 85,672 | 91,025 | 88,305 | 89,531 | 85,761 | 399,502 | 354,622 | 373,214
Gross profit | 52,599 | 52,211 | 56,191 | 46,041 | 42,775 | 49,882 | 49,494 | 44,727 | 207,042 | 186,878 | 171,168
Selling expenses | 41,256 | 38,041 | 42,414 | 32,828 | 33,230 | 34,388 | 32,408 | 33,303 | 154,539 | 133,329 | 123,260
Income (loss) from operations | 2,001 | (2,767) | 28 | 1,862 | (3,096) | 4,109 | 36,997 | 1,168 | 1,124 | 39,178 | (2,190)
Net (loss) income | $ 133 | $ (2,193) | $ (17,060) | $ 840 | $ (1,837) | $ 2,846 | $ 20,728 | $ 814 | $ (18,280) | $ 22,551 | $ 71,791
Net income (loss) per common share - basic (in US$ per share) | $ 0.00 | $ (0.14) | $ (1.03) | $ 0.05 | $ (0.11) | $ 0.17 | $ 1.25 | $ 0.05 | $ (1.11) | $ 1.35 | $ 4.35
Net income (loss) per common share - diluted (in US$ per share) | $ 0.00 | $ (0.14) | $ (1.03) | $ 0.05 | $ (0.11) | $ 0.17 | $ 1.24 | $ 0.05 | $ (1.11) | $ 1.34 | $ 4.32
As Previously Reported |  |  |  |  |  |  |  |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net sales |  | $ 157,927 | $ 167,366 | $ 131,713 | $ 133,800 | $ 138,187 | $ 139,025 | $ 130,488 |  |  |
Cost of goods sold |  | 99,117 | 101,847 | 82,706 | 80,182 | 84,367 | 83,929 | 79,290 |  |  |
Gross profit |  | 58,810 | 65,519 | 49,007 | 53,618 | 53,820 | 55,096 | 51,198 |  |  |
Selling expenses |  | 44,736 | 49,328 | 38,915 | 39,286 | 40,377 | 39,097 | 38,438 |  |  |
Income (loss) from operations |  | (2,864) | 2,442 | (1,258) | 1,693 | 2,058 | 35,910 | 2,505 |  |  |
Net (loss) income |  | $ (3,908) | $ (18,768) | $ (978) | $ 1,112 | $ 1,594 | $ 20,076 | $ 1,618 |  |  |
Net income (loss) per common share - basic (in US$ per share) |  | $ (0.24) | $ (1.13) | $ (0.06) | $ 0.07 | $ 0.10 | $ 1.21 | $ 0.10 |  |  |
Net income (loss) per common share - diluted (in US$ per share) |  | $ (0.24) | $ (1.13) | $ (0.06) | $ 0.07 | $ 0.10 | $ 1.20 | $ 0.10 |  |  |

X
- Definition Total costs related to goods produced and sold during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2(a)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_CostOfGoodsSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 55 -Paragraph 52 -URI http://asc.fasb.org/extlink&oid=96948231&loc=d3e4984-109258 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1252-109256 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(21)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(23)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_EarningsPerShareBasic
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1252-109256 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(21)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(23)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_EarningsPerShareDiluted
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1,2) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_GrossProfit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The net result for the period of deducting operating expenses from operating revenues. + References No definition available. + Details
Name: | us-gaap_OperatingIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_SalesRevenueNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Expenses recognized in the period that are directly related to the selling and distribution of products or services. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_SellingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | farm_RestatementAxis=farm_PreviouslyReportedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |