{% if invoice.bolt11 %}{% trans "in Lightning" %}{% endif %}{% if invoice.bolt11 and address %}, {% endif %}{% if address %}{% trans "on-chain" %}{% endif %}
{% if state == "paid" %}
{% trans "paid" %}
{% if method == "lightning" %}({% trans "in Lightning" %}){% elif method == "onchain" %}({% trans "on-chain" %}){% elif method == "mixed" %}({% trans "on-chain and in Lightning" %}){% endif %}
{% elif state == "unconfirmed" %}
{% trans "received on-chain, being confirmed" %}
{% elif state == "expired" %}
{% if invoice.received %}{% trans "ended underpaid" %}{% else %}{% trans "expired unpaid" %}{% endif %}
{% elif state == "open" %}
{% if invoice.received %}{% trans "partly paid, waiting for the rest" %}{% else %}{% trans "waiting for the payment" %}{% endif %}
{% else %}
{% trans "not checked yet" %}
{% endif %}
{% if invoice.received %}
{% trans "Received" %}
{{ received_sats }} sats
{% endif %}
{% if confirmations is not None %}
{% trans "Confirmations" %}
{{ confirmations }}
{% endif %}
{% for txid in txids %}
{% if forloop.first %}{% trans "Transactions" %}{% endif %}