XML 49 R32.htm IDEA: XBRL DOCUMENT v3.22.2.2
Acquisitions and dispositions (Tables)
12 Months Ended
Jul. 31, 2022
Acquisitions and dispositions  
Schedule of funding of acquisitions

​

​

​

​

​

​

​

​

​

​

​

​

​

For the year ended July 31, 

​

    

2022

    

2021

    

2020

Cash payments, net of cash acquired

​

$

19,679

​

$

6,567

​

$

10,195

Issuance of liabilities and other costs and considerations

​

 

2,022

​

 

1,344

​

 

975

Aggregate fair value of transactions

​

$

21,701

​

$

7,911

​

$

11,170

Aggregate fair value of transaction

​

​

​

​

​

​

​

​

​

​

​

​

​

For the year ended July 31, 

​

    

2022

    

2021

    

2020

Customer tanks, buildings, land and other

​

$

6,564

​

$

2,607

​

$

6,598

Goodwill

​

​

10,153

​

​

—

​

​

—

Customer lists

​

 

4,259

​

 

4,973

​

 

738

Non-compete agreements

​

 

725

​

 

331

​

 

3,834

Aggregate fair value of net assets acquired

​

$

21,701

​

$

7,911

​

$

11,170

Schedule of loss on assets sales and disposals

​

​

​

​

​

​

​

​

​

​

​

​

​

For the year ended July 31, 

​

    

2022

    

2021

    

2020

Gain (loss) on sale of:

 

​

  

 

​

  

 

​

  

Other

​

$

6,618

​

$

(1,831)

​

$

(7,924)

Gain (loss) on asset sales and disposals

​

$

6,618

​

$

(1,831)

​

$

(7,924)