XML 31 R13.htm IDEA: XBRL DOCUMENT v3.23.2
Leases
12 Months Ended
Jul. 31, 2023
Leases [Abstract]  
Leases Leases
The Company leases certain manufacturing facilities, warehouses and office space, computer equipment, and vehicles accounted for as operating leases. Lease terms typically range from one year to ten years. As of July 31, 2023 and 2022, the Company did not have any finance leases.
Short-term lease expense, variable lease expenses, and sublease income were immaterial to the Consolidated Statements of Income for the year ended July 31, 2023.
The following table summarizes lease expense recognized during the years ended July 31, 2023, 2022 and 2021:
 Consolidated Statements of Income LocationJuly 31, 2023July 31, 2022July 31, 2021
Operating lease costCost of goods sold$6,589 $7,893 $8,268 
Operating lease costSelling, general, and administrative expenses9,424 9,822 8,625 
The following table summarizes the maturity of the Company's lease liabilities as of July 31, 2023:
Years ending July 31, Operating Leases
2024$15,696 
202510,503 
20264,627 
2027885 
2028211 
Thereafter789 
Total lease payments$32,711 
Less: interest(1,768)
Present value of lease liabilities$30,943 
The weighted average remaining lease terms and discount rates for the Company's operating leases as of July 31, 2023 and 2022 were as follows:
July 31, 2023July 31, 2022
Weighted average remaining lease term (in years)2.62.7
Weighted average discount rate4.3 %3.9 %
Supplemental cash flow information related to the Company's operating leases during the years ended July 31, 2023 and 2022 were as follows:
20232022
Operating cash outflows from operating leases$17,739 $19,005 
Operating lease assets obtained in exchange for new operating lease liabilities (1)
12,583 7,607 
(1) Includes new leases and remeasurements or modifications of existing leases.
The Company evaluates right-of-use assets for impairment in the same manner as long-lived assets. No impairment charges were recorded during the years ended July 31, 2023, 2022 or 2021.