Add ho values
This commit is contained in:
parent
3aff4bb69a
commit
8443e03b1f
2 changed files with 4 additions and 2 deletions
|
|
@ -1344,6 +1344,8 @@ class InvoiceListView(LoginRequiredMixin, TemplateView):
|
|||
)
|
||||
stripe_chgs = []
|
||||
for ho in hosting_orders:
|
||||
ho.generic_product.product_name = ho.generic_product.product_name.capitalize()
|
||||
ho.created = ho.created.strftime('%Y-%m-%d')
|
||||
stripe_chgs.append(
|
||||
{ho: stripe.Charge.retrieve(ho.stripe_charge_id)})
|
||||
paginator_charges = Paginator(stripe_chgs, 10)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue