XML 32 R31.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
5. REVENUE RECOGNITION (Details - Contract liabilities) - USD ($)
3 Months Ended 6 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2019
Dec. 31, 2018
Revenue from Contract with Customer [Abstract]        
Contract liabilities, beginning balance $ 513,623 $ 400,704 $ 450,192 $ 857,842
Unearned revenue received from customers 97,143 0 293,019 24,300
Revenue recognized in current period (222,260) (192,722) (354,705) (674,160)
Contract liabilities, ending balance $ 388,506 $ 207,982 $ 388,506 $ 207,982