Prevent deleting customer refund from batch payments

Order To Cash: Customer Ledger Version 9.27

It is no longer possible to delete customer refunds in the Customer payments (AR302000) window. You can still delete the customer refunds in the Batch payments (AP305000) window. This is to prevent the batch payment from connecting to a refund that is not there.
The the total sum of the batch payment is also updated when the refund is deleted.