7. Note receivable - sale of discontinued operations (Details - Operations) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2018 |
Jul. 01, 2017 |
Jun. 30, 2018 |
Jul. 01, 2017 |
|
Revenue | $ 8,373 | $ 10,744 | $ 17,286 | $ 18,194 |
Gross profit | 2,150 | 3,989 | 4,562 | 5,805 |
Selling, general and administrative expense | 3,752 | 2,412 | 7,726 | 5,859 |
Net (loss) from discontinued operations and loss on sale, net of tax | 0 | 845 | 0 | 788 |
Discontinued Operations [Member] | ||||
Revenue | 0 | 15,038 | 0 | 30,827 |
Cost of revenue | 0 | 10,308 | 0 | 21,890 |
Gross profit | 0 | 4,730 | 0 | 8,937 |
Selling, general and administrative expense | 0 | 3,722 | 0 | 8,007 |
Operating (loss) - discontinued operations | 0 | 1,008 | 0 | 930 |
Other income | 0 | 238 | 0 | 238 |
Other expense | 0 | 0 | 0 | 0 |
Net (loss) - discontinued operations before income tax benefit | 0 | 1,246 | 0 | 1,168 |
Income tax benefits | 0 | 394 | 0 | 373 |
Net (loss) from discontinued operations and loss on sale, net of tax | $ 0 | $ 852 | $ 0 | $ 795 |
X | ||||||||||
- Definition The aggregate cost of goods produced and sold and services rendered during the reporting period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount before tax of income (loss) from a discontinued operation. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of operating income (loss) attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount after tax of income (loss) from a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of current tax expense (benefit) and deferred tax expense (benefit) pertaining to income (loss) from continuing operations and income (loss) from discontinued operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of expense classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of revenue and income classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Details
|