December 31, 2017 | December 31, 2016 | ||||
$ | $ | ||||
Current | 91,736 | 83,194 | |||
Past due accounts not impaired | |||||
1 – 30 days past due | 12,435 | 5,636 | |||
31 – 60 days past due | 1,652 | 947 | |||
61 – 90 days past due | 288 | 146 | |||
Over 90 days past due | 523 | 199 | |||
14,898 | 6,928 | ||||
Allowance for doubtful accounts | 641 | 254 | |||
Gross accounts receivable | 107,275 | 90,376 |