Merge pull request #2789 from betagouv/frederic/remove_dead_code
Remove dead, buggy code
This commit is contained in:
commit
b6b4a76906
2 changed files with 0 additions and 8 deletions
|
@ -17,10 +17,6 @@ class DossierFacades
|
|||
@dossier.etablissement
|
||||
end
|
||||
|
||||
def pieces_justificatives
|
||||
@dossier.ordered_pieces_justificatives
|
||||
end
|
||||
|
||||
def types_de_pieces_justificatives
|
||||
@dossier.types_de_piece_justificative.order('order_place ASC')
|
||||
end
|
||||
|
|
|
@ -118,10 +118,6 @@ class Dossier < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
def ordered_pieces_justificatives
|
||||
champs.joins(', types_de_piece_justificative').where("pieces_justificatives.type_de_piece_justificative_id = types_de_piece_justificative.id AND types_de_piece_justificative.procedure_id = #{procedure.id}").order('order_place ASC')
|
||||
end
|
||||
|
||||
def en_construction_ou_instruction?
|
||||
EN_CONSTRUCTION_OU_INSTRUCTION.include?(state)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue