7. Note receivable - sale of discontinued operations (Details - Operations) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | |||
---|---|---|---|---|---|
Sep. 30, 2018 |
Sep. 29, 2018 |
Sep. 30, 2017 |
Sep. 29, 2018 |
Sep. 30, 2017 |
|
Revenue | $ 10,267 | $ 11,452 | $ 27,553 | $ 29,647 | |
Gross profit | 3,393 | 4,434 | 7,955 | 10,238 | |
Selling, general and administrative expense | 5,064 | 3,614 | 12,791 | 10,344 | |
Net (loss) from discontinued operations and loss on sale, net of tax | $ 0 | 119 | 0 | 904 | |
Discontinued Operations [Member] | |||||
Revenue | $ 0 | 14,031 | 0 | 44,858 | |
Cost of revenue | 0 | 10,037 | 0 | 31,926 | |
Gross profit | 0 | 3,994 | 0 | 12,932 | |
Selling, general and administrative expense | 0 | 3,685 | 0 | 10,821 | |
Operating (loss) - discontinued operations | 0 | 309 | 0 | 2,111 | |
Other income | 0 | 208 | 0 | 445 | |
Other expense | 0 | (300) | 0 | (1,178) | |
Net (loss) - discontinued operations before income tax benefit | 0 | 217 | 0 | 1,378 | |
Income tax benefits | 0 | 98 | 0 | 474 | |
Net (loss) from discontinued operations and loss on sale, net of tax | $ 0 | $ 119 | $ 0 | $ 904 |
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
|