{% extends "base.html" %} {% block title %} {{ block.super }} - Invoices{% endblock %} {% block content %} {% load humanize %} {% if invoices %}
| Created | Settled | Payment Hash | Value | Amount Paid | State | Channel In Alias | Channel In | Keysend |
|---|---|---|---|---|---|---|---|---|
| {{ invoice.creation_date|naturaltime }} | {% if invoice.state == 1 %}{{ invoice.settle_date|naturaltime }}{% else %}---{% endif %} | {{ invoice.r_hash }} | {{ invoice.value|add:"0"|intcomma }} | {% if invoice.state == 1 %}{{ invoice.amt_paid|intcomma }}{% else %}---{% endif %} | {% if invoice.state == 0 %}Open{% elif invoice.state == 1 %}Settled{% elif invoice.state == 2 %}Canceled{% else %}{{ invoice.state }}{% endif %} | {% if invoice.state == 1 %}{% if invoice.chan_in_alias == '' %}---{% else %}{{ invoice.chan_in_alias }}{% endif %}{% else %}---{% endif %} | {% if invoice.state == 1 and invoice.chan_in != None %}{{ invoice.chan_in }}{% else %}---{% endif %} | {% if invoice.keysend_preimage != None %}Yes{% else %}No{% endif %} |