mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
adjust completed action
This commit is contained in:
1 parent
48de343948
commit
964b1444a5
2 files changed
+3
-1
No files matched your search
@@ -53,6 +53,8 @@ class Submitter < ApplicationRecord
|
||||
has_many :document_generation_events, dependent: :destroy
|
||||
has_many :submission_events, dependent: :destroy
|
||||
|
||||
scope :completed, -> { where.not(completed_at: nil) }
|
||||
|
||||
def status
|
||||
if completed_at?
|
||||
'completed'
|
||||
|
||||
Reference in new issue
Block a user