Projet

Général

Profil

Bug #65926

Mis à jour par Nicolas Roche il y a presque 2 ans

Dans un pappel WS,
https://demarches.peps.social.gouv.fr/backoffice/workflows/2/status/1/items/1/
je voudrais remplacer ce template :

<pre>
{{form_var_montant|decimal|split:','|join:'.'}}
</pre>
par
<pre>
{% localize off %}{{form_var_montant|decimal}}{% endlocalize %} {{form_var_montant|decimal|unlocalize}}
</pre>

Cela fonctionne dans l'inspecteur (on obtient @52.8@ avec un point)
https://demarches.peps.social.gouv.fr/backoffice/management/centre-de-loisirs-journee/17/inspect
mais pas dans l'appel webservice (le connecteur reçoit @52,8@ avec une virgule)
https://passerelle.peps.social.gouv.fr/manage/solis-afi-mss/aides-financieres/logs/?log_id=56804

Retour