Commit 86af8775 authored by  JosephK's avatar JosephK
Browse files

Fix country

parent 409ec443
......@@ -834,7 +834,7 @@ export default {
this.addFormField(form, 'adresse2', this.form.address2);
this.addFormField(form, 'ville', this.form.city);
this.addFormField(form, 'cp', this.form.zip);
this.addFormField(form, 'pays', this.$t(`country[${this.form.country}]`));
this.addFormField(form, 'pays', this.$t(`country.${this.form.country}`)`));
this.addFormField(form, 'montant', this.form.don);
document.body.appendChild(form);
......@@ -904,7 +904,7 @@ export default {
`&address2=${encodeURIComponent(this.form.address2)}`,
`&zip=${encodeURIComponent(this.form.zip)}`,
`&city=${encodeURIComponent(this.form.city)}`,
`&country=${this.$t('country[' + this.form.country + ']')}`,
`&country=${this.$t(`country.${this.form.country}`)}`,
`&amount=${this.form.don}`,
);
this.form.pay_send = offPayUrl.join('');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment