feedbacks from Martin
This commit is contained in:
parent
3918757dc9
commit
4afb873afc
3 changed files with 42 additions and 46 deletions
|
@ -273,7 +273,6 @@ ul.dropdown-items {
|
|||
margin: -$default-padding;
|
||||
padding: $default-padding;
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
- if available_operations[:options].present?
|
||||
- if available_operations[:options].count == 1
|
||||
- opt = available_operations[:options].dig(0)
|
||||
= form_for(BatchOperation.new, url: instructeur_batch_operations_path(procedure_id: procedure.id), method: :post, html: { class: 'flex justify-end', id: "#{dom_id(BatchOperation.new)}" }, data: { "batch-operation-target" => "form"}) do |form|
|
||||
|
|
|
@ -78,7 +78,6 @@ class BatchOperation < ApplicationRecord
|
|||
end
|
||||
|
||||
def track_processed_dossier(success, dossier)
|
||||
transaction do
|
||||
dossiers.delete(dossier)
|
||||
touch(:run_at) if called_for_first_time?
|
||||
touch(:finished_at) if called_for_last_time?(dossier)
|
||||
|
@ -89,7 +88,6 @@ class BatchOperation < ApplicationRecord
|
|||
dossier_operation(dossier).fail!
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# when an instructeur want to create a batch from his interface,
|
||||
# another one might have run something on one of the dossier
|
||||
|
|
Loading…
Reference in a new issue