Better xlsx reports

This commit is contained in:
Landon Wark
2023-02-03 14:18:29 -06:00
parent d2c820f03a
commit 7fb5bb12f3
5 changed files with 44 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
{# template for constructing submission details #}
{% for key, value in sub.items() if key != 'reagents' and key != 'samples' %}
{{ key }}: {{ value }}
{% if key=='Cost' %} {{ key }}: {{ "${:,.2f}".format(value) }} {% else %} {{ key }}: {{ value }} {% endif %}
{% endfor %}
Reagents:
{% for item in sub['reagents'] %}