diff --git a/src/Model/Recipient.php b/src/Model/Recipient.php index e1cfb6c..d524cc7 100644 --- a/src/Model/Recipient.php +++ b/src/Model/Recipient.php @@ -158,6 +158,10 @@ public function onAfterWrite() public function getCMSFields() { + $this->beforeUpdateCMSFields(function ($fields) { + $fields->makeFieldReadonly('Verified'); + }); + $fields = parent::getCMSFields(); $fields->removeByName('FileTracking'); @@ -168,7 +172,6 @@ public function getCMSFields() $fields->makeFieldReadonly('ReceivedCount'); $fields->makeFieldReadonly('ValidateHash'); $fields->makeFieldReadonly('ValidateHashExpired'); - $fields->makeFieldReadonly('Verified'); return $fields; }