Skip to content

Commit

Permalink
✨ Ajoute la valeur prix_avec_centimes au champs type_saisie
Browse files Browse the repository at this point in the history
  • Loading branch information
marouria committed Dec 2, 2024
1 parent 499e544 commit 002262a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/question_saisie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class QuestionSaisie < Question
QUESTION_REDACTION = 'redaction_note'
QUESTION_TYPE = 'QuestionSaisie'

enum :type_saisie, { redaction: 0, numerique: 1, texte: 2 }
enum :type_saisie, { redaction: 0, numerique: 1, texte: 2, prix_avec_centimes: 3 }

has_many :reponses, class_name: 'Choix', foreign_key: :question_id, dependent: :destroy
accepts_nested_attributes_for :reponses, allow_destroy: true
Expand Down

0 comments on commit 002262a

Please sign in to comment.