Hi,
Please check this topic Hide Cancel Booking Button on Booking Details Page when Status of Order is Processing