Unable to cancel backdated leave

User had recently added New Record of an annual leave in the application however it was backdated to June (payrun already processed). Is there a way to cancel the transaction because the cancel button is disabled/greyed. Note that the employee did not take this leave.

We need to remove this transaction to make the employee leave is balanced again.