2015-08-10 11:05:06 +02:00
|
|
|
class RefPiecesJointe < ActiveRecord::Base
|
2015-08-12 10:09:52 +02:00
|
|
|
|
2015-08-13 15:55:19 +02:00
|
|
|
# TODO: test this methods
|
2015-08-12 10:09:52 +02:00
|
|
|
def self.get_liste_piece_jointe ref_formulaire
|
2015-08-13 15:55:19 +02:00
|
|
|
RefPiecesJointe.where ("\"CERFA\" = '#{ref_formulaire.ref_demarche}'")
|
2015-08-12 10:09:52 +02:00
|
|
|
end
|
|
|
|
|
2015-08-10 11:05:06 +02:00
|
|
|
end
|