XML 38 R27.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Earnings Per Share (Tables) | 6 Months Ended
--- | ---
Dec. 31, 2016
Earnings Per Share [Abstract] |
Schedule of the computations for basic and diluted earnings per share | The computations for basic and diluted earnings per share are described in the following table:
|  | (unaudited) |
|  | Three months ended December 31, |  | Six months ended December 31, |
|  | 2016 |  | 2015 |  | 2016 |  | 2015 |
Net income (loss) |  | $ | 1,097,667 |  | $ | (535,583 | ) | $ | 1,238,163 |  | $ | 307,390 |
Weighted average common shares outstanding: |  |  |  |  |  |  |  |  |  |  |  |  |
Basic |  |  | 16,541,205 |  |  | 15,250,146 |  |  | 16,079,030 |  |  | 15,244,747 |
Effect of dilutive securities: |  |  |  |  |  |  |  |  |  |  |  |  |
Options to purchase common stock |  |  | 51,433 |  |  | — |  |  | 71,605 |  |  | 53,491 |
Restricted stock units |  |  | 1,132,359 |  |  | — |  |  | 1,115,887 |  |  | 899,856 |
Common stock warrants |  |  | 177,716 |  |  | — |  |  | 257,213 |  |  | 396,665 |
Diluted |  |  | 17,902,712 |  |  | 15,250,146 |  |  | 17,523,734 |  |  | 16,594,759 |
Earnings (loss) per common share: |  |  |  |  |  |  |  |  |  |  |  |  |
Basic |  | $ | 0.07 |  | $ | (0.04 | ) | $ | 0.08 |  | $ | 0.02 |
Diluted |  | $ | 0.06 |  | $ | (0.04 | ) | $ | 0.07 |  | $ | 0.02 |
Excluded from computation: |  |  |  |  |  |  |  |  |  |  |  |  |
Options to purchase common stock |  |  | 935,899 |  |  | 803,348 |  |  | 824,218 |  |  | 707,889 |
Restricted stock units |  |  | 344,990 |  |  | 1,239,821 |  |  | 278,685 |  |  | 257,701 |
Common stock warrants |  |  | 826,709 |  |  | 1,438,415 |  |  | 774,455 |  |  | 1,095,044 |
|  |  | 2,107,598 |  |  | 3,481,584 |  |  | 1,877,358 |  |  | 2,060,634 |

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the weighted average number of shares used in calculating basic net earnings per share (or unit) and diluted earnings per share (or unit). + 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 + Details
Name: | us-gaap_ScheduleOfWeightedAverageNumberOfSharesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration