Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/admin operator documents perform qc #483

Merged
merged 11 commits into from
May 8, 2024

Conversation

tsubik
Copy link
Collaborator

@tsubik tsubik commented Mar 28, 2024

perform_qc

@tsubik tsubik force-pushed the feature/admin-operator-documents-perform-qc branch from dde6344 to 23493aa Compare April 11, 2024 14:30
@tsubik tsubik marked this pull request as ready for review April 11, 2024 14:30
@tsubik tsubik requested a review from santostiago April 11, 2024 14:35
Copy link
Contributor

@santostiago santostiago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 👍

@@ -48,6 +49,7 @@ class OperatorDocument < ApplicationRecord

validates :start_date, presence: {if: :document_file_id?}
validates :expire_date, presence: {if: :document_file_id?}
validates :admin_comment, presence: {if: :doc_invalid?}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we'll have issues if someone wants to update an old doc that is invalid.
But ok, maybe they shouldn't update it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, I will double-check this if this is something to worry about.

@tsubik tsubik force-pushed the feature/admin-operator-documents-perform-qc branch from ecdd106 to 76ec6e8 Compare April 30, 2024 11:22
@tsubik tsubik merged commit e28e7cb into develop May 8, 2024
4 checks passed
@tsubik tsubik deleted the feature/admin-operator-documents-perform-qc branch May 8, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants