poc(batch_operations_controller): implement simple [not yet with procedure_presentation] action to create a batch operation

This commit is contained in:
Martin 2022-11-19 06:03:59 +01:00 committed by mfo
parent b11dbafc59
commit 7df86c50fb
8 changed files with 99 additions and 8 deletions

View file

@ -21,6 +21,7 @@ class BatchOperation < ApplicationRecord
has_many :dossiers, dependent: :nullify
belongs_to :instructeur
validates :operation, presence: true
def enqueue_all