Skip to content

Commit

Permalink
Ajout du numéro de décision attributive dans la page des PFMPs (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnicolas1 authored Jan 7, 2025
1 parent 4a657a8 commit ea891a6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/views/pfmps/_payment_requests_history.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
- if payment_request.in_state?(:paid)
.fr-mt-2w.gray-text
Montant réellement versé :
= number_to_currency(payment_request.last_transition.metadata['PAIEMENT']['MTNET'].to_f)
%strong= number_to_currency(payment_request.last_transition.metadata['PAIEMENT']['MTNET'].to_f)
.fr-mt-2w.gray-text
Coordonnées bancaires utilisées :
= payment_request.rib&.iban || payment_request.reconstructed_iban || payment_request.student.rib(current_establishment)&.iban || "manquantes"
%strong= payment_request.rib&.iban || payment_request.reconstructed_iban || payment_request.student.rib(current_establishment)&.iban || "manquantes"
.fr-mt-2w.gray-text
Numéro de décision attributive :
%strong= payment_request.schooling.attributive_decision_number
.fr-mt-2w.gray-text
Dernière mise à jour le
= l(payment_request.last_transition&.updated_at || payment_request.updated_at, format: :long)

0 comments on commit ea891a6

Please sign in to comment.