We probably need creating HostingBill

This commit is contained in:
PCoder 2017-07-07 00:12:29 +05:30
parent 8bb7eee418
commit cfc1210a9a

View file

@ -561,9 +561,8 @@ class PaymentVMView(LoginRequiredMixin, FormView):
) )
# Create a Hosting Bill # Create a Hosting Bill
# variable bill is not used HostingBill.create(
# bill = HostingBill.create( customer=customer, billing_address=billing_address)
# customer=customer, billing_address=billing_address)
# Create Billing Address for User if he does not have one # Create Billing Address for User if he does not have one
if not customer.user.billing_addresses.count(): if not customer.user.billing_addresses.count():