diff --git a/src/profiles/templates/profile_base.html b/src/profiles/templates/profile_base.html index 149d5f7f..3d01a025 100644 --- a/src/profiles/templates/profile_base.html +++ b/src/profiles/templates/profile_base.html @@ -61,8 +61,9 @@ {% if user.creditnotes.exists %} -
Credit Note ID | +Text | +Amount | +Paid? | +|
---|---|---|---|---|
{{ creditnote.id }} | +{{ creditnote.text }} | +{{ creditnote.amount|currency }} | +{{ creditnote.paid|truefalseicon }} | ++ {% if creditnote.pdf %} + {% url 'shop:download_creditnote' pk=creditnote.pk as creditnote_download_url %} + {% bootstrap_button "PDF" icon="save-file" href=creditnote_download_url button_class="btn-primary btn-xs" %} + {% else %} + N/A + {% endif %} + | +
Credit Note ID | -Text | -Amount | -Paid? | -|
---|---|---|---|---|
{{ creditnote.id }} | -{{ creditnote.text }} | -{{ creditnote.amount|currency }} | -{{ creditnote.paid|truefalseicon }} | -- {% if creditnote.pdf %} - {% url 'shop:download_creditnote' pk=creditnote.pk as creditnote_download_url %} - {% bootstrap_button "PDF" icon="save-file" href=creditnote_download_url button_class="btn-primary btn-xs" %} - {% else %} - N/A - {% endif %} - | -