CRM-21756: Freeze total amount field on Edit Contribution if related to membership or Event registration