We probably need creating HostingBill
This commit is contained in:
parent
8bb7eee418
commit
cfc1210a9a
1 changed files with 2 additions and 3 deletions
|
@ -561,9 +561,8 @@ class PaymentVMView(LoginRequiredMixin, FormView):
|
|||
)
|
||||
|
||||
# Create a Hosting Bill
|
||||
# variable bill is not used
|
||||
# bill = HostingBill.create(
|
||||
# customer=customer, billing_address=billing_address)
|
||||
HostingBill.create(
|
||||
customer=customer, billing_address=billing_address)
|
||||
|
||||
# Create Billing Address for User if he does not have one
|
||||
if not customer.user.billing_addresses.count():
|
||||
|
|
Loading…
Reference in a new issue