synchronize documents generation

This commit is contained in:
Alex Turchyn committed 2023-07-01 13:21:16 +03:00
1 parent e55b5b47cd
commit 4180d02a1b
15 files changed
+148 -12

No files matched your search

+2
View File
@@ -39,6 +39,8 @@ class Submitter < ApplicationRecord
has_many_attached :documents
has_many_attached :attachments
has_many :document_generation_events, dependent: :destroy
def status
if completed_at?
'completed'