mirror of
https://github.com/internetee/registry.git
synced 2025-08-19 07:53:51 +02:00
feat: add status notes to force delete notifications
- Add notes parameter to force delete interactions to provide more context - Include company registry status in force delete notifications - Add status mapping constants for better readability - Move status note assignment before save in force delete process Technical details: - Add notes field to Domains::ForceDelete::Base interaction - Update force delete notifications to include status notes - Add REGISTRY_STATUSES mapping in CompanyRegisterStatusJob - Update tests to verify new notification format
This commit is contained in:
parent
45c77f7052
commit
2ec545b3aa
7 changed files with 22 additions and 9 deletions
|
@ -16,6 +16,9 @@ module Domains
|
|||
string :email,
|
||||
default: nil,
|
||||
description: 'Possible invalid email to notify on'
|
||||
string :notes,
|
||||
default: nil,
|
||||
description: 'Notes to add reason to the force delete'
|
||||
|
||||
validates :type, inclusion: { in: %i[fast_track soft] }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue