{% extends 'shop_base.html' %} {% load bootstrap3 %} {% load shop_tags %} {% block shop_content %}
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 %} |