This commit is contained in:
Bilal
2020-09-01 03:55:39 +03:00
parent 3471e21429
commit 98afad4174

View File

@@ -164,10 +164,6 @@ class AppearanceRelease < ApplicationRecord
"#{project.name.parameterize}_#{contract_template.release_type}_#{(signed_at || created_at).strftime('%Y.%m.%d')}_#{release_number}_#{filename_suffix.parameterize}"
end
def complete?
person_photo.attached? && contract.attached?
end
private
# Validates the quality of the person photo