Initialize vat number in payment forms

This commit is contained in:
PCoder 2019-12-17 23:48:05 +05:30
commit 6ea486b527
2 changed files with 4 additions and 0 deletions

View file

@ -694,6 +694,7 @@ class PaymentVMView(LoginRequiredMixin, FormView):
'city': current_billing_address.city,
'postal_code': current_billing_address.postal_code,
'country': current_billing_address.country,
'vat_number': self.request.user.vat_number
}
})
return form_kwargs