Skip to content

Commit

Permalink
Always input individu info
Browse files Browse the repository at this point in the history
  • Loading branch information
pskl committed Nov 18, 2024
1 parent ab4cd47 commit 603fd2d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/asp/entities/enregistrement.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ def fragment(xml)
end

def individu(xml)
if new_record?
xml.natureindividu("P")
PersPhysique.from_payment_request(payment_request).to_xml(xml)
xml.adressesindividu { Adresse.from_payment_request(payment_request).to_xml(xml) }
xml.coordpaiesindividu { CoordPaie.from_payment_request(payment_request).to_xml(xml) }
end
xml.natureindividu("P")
PersPhysique.from_payment_request(payment_request).to_xml(xml)
xml.adressesindividu { Adresse.from_payment_request(payment_request).to_xml(xml) }

xml.listedossier { Dossier.from_payment_request(payment_request).to_xml(xml) }
end
Expand Down

0 comments on commit 603fd2d

Please sign in to comment.