\
\
\{% if invoice.is_estimate? %\}\
\{\{label_strings[0]\}\}\
\{% else %\}\
\{\{label_strings[1]\}\}\
\{% endif %\}\
\{\{ invoice.number \}\}\
\
\
\{\{label_strings[2]\}\}: \{\{ invoice.invoice_date | date: "%d.%m.%Y" \}\}\
\
\
\
\{% if invoice.description != '' %\}\
\
\{\{ invoice.description | textile \}\}\
\
\{% endif %\}\
\
\
\
\
\{% for item in invoice.lines %\}\
\
\{\{ item.position \}\} | \
\{\{ item.description | multi_line \}\} | \
\{\{ item.quantity | numeric: 4 \}\} | \
\{\{ item.price | currency \}\} | \
\{\{ item.total | currency \}\} | \
\
\{% endfor %\}\
\
\
\
\
\
\
\{\{label_strings[7]\}\} | \
\{\{ invoice.subtotal | currency \}\} | \
\
\
\{% if invoice.discount > 0 %\}\
\
\
\{\{label_strings[8]\}\}\
\{% if invoice.discount_type == 0 %\}\
(\{\{invoice.discount_rate\}\}%)\
\{% endif %\}\
| \
-\{\{ invoice.discount | currency \}\} | \
\
\{% endif %\}\
\
\{% if invoice.has_taxes? %\}\
\{% for tax_group in invoice.tax_groups %\}\
\
\{\{label_strings[9]\}\} \{\{tax_group[0]\}\}% | \
\{\{tax_group[1] | currency\}\} | \
\
\{% endfor %\}\
\{% endif %\}\
\
\
\{\{label_strings[10]\}\} | \
\{\{ invoice.amount | currency \}\} | \
\
\
\
\
\