diff --git a/app/Models/Organization.php b/app/Models/Organization.php index 0bd73634..4954ac66 100644 --- a/app/Models/Organization.php +++ b/app/Models/Organization.php @@ -230,4 +230,11 @@ public function markAsRejected(): bool 'status_updated_at' => $this->freshTimestamp(), ]); } + + public function markAsPending(): bool + { + return $this->update([ + 'status' => OrganizationStatus::pending + ]); + } }