XML 35 R26.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Leases (Tables)
9 Months Ended
Jan. 31, 2020
Leases  
Summary of components of lease expense

​

​

​

​

​

​

​

​

​

​

Three Months

​

Nine Months

​

​

Ended

​

Ended

​

​

January 31, 2020

​

January 31, 2020

​

​

(in thousands)

Finance lease cost:

​

​

​

​

​

​

Amortization of right-of-use assets

​

$

6,007

​

$

18,120

Interest on lease liabilities

​

​

3,300

​

​

10,089

Operating lease cost

​

​

10,646

​

​

31,555

Variable lease cost

​

​

3,311

​

​

9,924

Total lease cost

​

$

23,264

​

$

69,688

Summary of components of supplemental cash flow information related to leases

​

​

​

​

​

​

​

​

​

​

​

​

​

Nine Months

​

​

​

​

​

Ended

​

​

​

​

​

January 31, 2020

​

​

​

​

​

(in thousands)

Cash paid for amounts included in the measurement of lease liabilities

​

​

​

​

​

​

Operating cash flows from operating leases

​

​

​

​

$

30,976

Operating cash flows from finance leases

​

​

​

​

​

10,089

Financing cash flows from finance leases

​

​

​

​

​

17,971

Right-of-use assets obtained in exchange for lease obligations

​

​

​

​

​

​

Operating leases

​

​

​

​

​

32,042

Finance leases

​

​

​

​

​

39,379

Summary of other lease information

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

January 31, 2020

​

​

​

​

​

​

​

(in thousands)

​

Finance leases included in property and equipment

​

​

​

​

​

​

​

Property and equipment

​

​

​

​

$

160,634

​

Accumulated depreciation

​

​

​

​

​

(37,746)

​

Property and equipment, net

​

​

​

​

$

122,888

​

Weighted-average remaining lease term (years)

​

​

​

​

​

​

​

Operating leases

​

​

​

​

​

4.9

​

Finance leases

​

​

​

​

​

3.4

​

Weighted-average discount rate

​

​

​

​

​

​

​

Operating leases

​

​

​

​

​

5.5

%

Finance leases

​

​

​

​

​

5.4

%

Schedule of maturities for finance leases

​

​

​

​

​

​

​

​

​

    

Finance

    

Operating

Year Ended April 30,

​

(in thousands)

2020 (remaining three months)

​

$

11,056

​

$

10,578

2021

​

 

43,879

​

 

37,389

2022

​

 

37,126

​

 

28,697

2023

​

 

28,257

​

 

22,284

2024

​

 

19,028

​

 

17,652

Thereafter

​

 

11,064

​

 

25,960

Total lease payments

​

​

150,410

​

​

142,560

Less imputed interest

​

 

24,583

​

 

19,093

Total

​

$

125,827

​

$

123,467

Schedule of maturities for operating leases

​

​

​

​

​

​

​

​

​

    

Finance

    

Operating

Year Ended April 30,

​

(in thousands)

2020 (remaining three months)

​

$

11,056

​

$

10,578

2021

​

 

43,879

​

 

37,389

2022

​

 

37,126

​

 

28,697

2023

​

 

28,257

​

 

22,284

2024

​

 

19,028

​

 

17,652

Thereafter

​

 

11,064

​

 

25,960

Total lease payments

​

​

150,410

​

​

142,560

Less imputed interest

​

 

24,583

​

 

19,093

Total

​

$

125,827

​

$

123,467