For
+{data.customer.name}
+Outstanding
+ {data.invoices.totalCount === 0 ?Nothing is outstanding.
: <> +| Invoice | Due date | Amount |
|---|---|---|
| {invoice.number}{invoice.kind === "out_refund" && Credit} | +{dueDate(invoice.dueDate)} | +{money.format(invoice.openAmount)} | +
{invoiceError}
} +Products
+ {data.products.length ?-
+ {data.products.map(product =>
- + {product.name} + {money.format(product.price)}per {product.unit} + )} +
No products yet.
} +Your contact
+ {agents.length ? agents.map(agent => + {agent.name} + {agent.phone && {agent.phone}} + {agent.email && {agent.email}} + ) :No contact is listed.
} +