fetch pjs_for_dossier by dossiers
put all bills in bills folder
This commit is contained in:
parent
11aedb2dc8
commit
e1afb35ca2
2 changed files with 56 additions and 30 deletions
|
@ -7,6 +7,13 @@ class ActiveStorage::DownloadableFile
|
|||
|
||||
private
|
||||
|
||||
def self.bill_and_path(bill)
|
||||
[
|
||||
bill,
|
||||
"bills/#{self.timestamped_filename(bill)}"
|
||||
]
|
||||
end
|
||||
|
||||
def self.pj_and_path(dossier_id, pj)
|
||||
[
|
||||
pj,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue