v3.26.3
Leases (Tables)
12 Months Ended
Jul. 31, 2026
Leases  
Summary of components of lease cost for operating leases

​

​

​

​

​

​

​

​

​

​

​

2026

  ​ ​ ​

2025

  ​ ​ ​

2024

Operating lease cost

$

110,070

​

$

111,141

​

$

110,661

Short term lease cost

​

2,648

 

​

3,036

 

​

3,509

Variable lease cost

​

4,681

 

​

3,893

 

​

3,522

Total lease cost

$

117,399

​

$

118,070

​

$

117,692

Summary of supplemental cash flow information and non-cash activity related to operating leases

​

​

​

​

​

​

​

​

​

​

​

​

​

2026

  ​ ​ ​

2025

  ​ ​ ​

2024

Operating cash flow information:

​

  ​

​

​

  ​

​

​

  ​

​

Gain on sale and leaseback transaction, net

​

$

(47,421)

​

$

—

​

$

—

Cash paid for amounts included in the measurement of lease liabilities

​

​

98,051

​

​

98,186

​

​

97,014

Noncash information:

​

 

​

​

 

  ​

​

 

  ​

Right-of-use assets obtained in exchange for new operating lease liabilities

​

 

72,360

​

 

7,358

​

 

14,219

Lease modifications or reassessments increasing right-of-use assets

​

 

3,758

​

 

23,307

​

 

23,532

Lease modifications removing right-of-use assets

​

 

(5,435)

​

 

(1,002)

​

 

(2,133)

Right-of-use asset impairment*

​

 

(5,944)

​

 

(1,381)

​

 

(1,832)

*Included in the Impairment line on the Consolidated Statement of Cash Flows

Summary of weighted-average remaining lease term and weighted-average discount rate for operating leases

​

​

​

​

​

​

​

​

​

​

  ​ ​ ​

2026

  ​ ​ ​

2025

  ​ ​ ​

2024

 

Weighted-average remaining lease term

​

15.22 Years

​

15.20 Years

​

15.88 Years

 

Weighted-average discount rate

 

5.79

%  

5.45

%  

5.38

%

Summary of maturities of undiscounted cash flows reconciled to total operating lease liability

​

​

​

​

​

Year

  ​ ​ ​

Total

2027

​

$

86,141

2028

​

 

75,048

2029

​

 

70,886

2030

​

 

62,436

2031

​

 

62,705

Thereafter

​

 

721,291

Total future minimum lease payments

​

 

1,078,507

Less imputed remaining interest

​

 

(379,681)

Total present value of operating lease liabilities

​

$

698,826