Show product name
This commit is contained in:
parent
e094930d6e
commit
42a4a77c02
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ def get_line_item_from_stripe_invoice(invoice):
|
||||||
""".format(
|
""".format(
|
||||||
vm_id=vm_id if vm_id > 0 else "",
|
vm_id=vm_id if vm_id > 0 else "",
|
||||||
ip_addresses=mark_safe(get_ip_addresses(vm_id)) if vm_id > 0 else
|
ip_addresses=mark_safe(get_ip_addresses(vm_id)) if vm_id > 0 else
|
||||||
mark_safe(plan_name),
|
mark_safe(get_product_name(plan_name)),
|
||||||
period=mark_safe("%s — %s" % (
|
period=mark_safe("%s — %s" % (
|
||||||
datetime.datetime.fromtimestamp(start_date).strftime('%Y-%m-%d'),
|
datetime.datetime.fromtimestamp(start_date).strftime('%Y-%m-%d'),
|
||||||
datetime.datetime.fromtimestamp(end_date).strftime('%Y-%m-%d'))),
|
datetime.datetime.fromtimestamp(end_date).strftime('%Y-%m-%d'))),
|
||||||
|
|
Loading…
Reference in a new issue