feat(pj): add specialized column for attachments

This commit is contained in:
mfo 2024-11-04 17:01:00 +01:00
parent 4f0713a764
commit 9d13ebb3ff
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC
7 changed files with 59 additions and 51 deletions

View file

@ -0,0 +1,9 @@
# frozen_string_literal: true
class Columns::AttachedManyColumn < Columns::ChampColumn
private
def typed_value(champ)
champ.piece_justificative_file.to_a
end
end