+ {need.name} +
+ {#each need.totals as total (total.code)} +
+
+
+ {/each}
+ {#if need.short && need.currency}
+
+ Short
+
+ on {formatDate(need.short.date, "short")}
+
+ {/if}
+ {#if need.balance !== null && need.currency}
+
+ {byCurrency ? "On paying cards" : "Balance"}
+
+
+ {/if}
+ -
+ {#each need.dues as due, i (`${due.bill.id}:${due.date}:${i}`)}
+
-
+ {due.overdue
+ ? "overdue"
+ : formatDate(due.date, "short")}
+ {due.bill.attributes.name}
+
+
+ {/each}
+