lingo: add classes to invoice table cells (#10465)
This commit is contained in:
parent
3843eae814
commit
89914f883e
|
@ -6,22 +6,22 @@
|
|||
<table class="invoices">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans "Number" %}</th>
|
||||
<th>{% trans "Label" %}</th>
|
||||
<th>{% trans "Issue date" %}</th>
|
||||
<th>{% trans "Payment limit date" %}</th>
|
||||
<th>{% trans "Amount" %}</th>
|
||||
<th class="invoice-id">{% trans "Number" %}</th>
|
||||
<th class="invoice-subject">{% trans "Label" %}</th>
|
||||
<th class="invoice-creation-date">{% trans "Issue date" %}</th>
|
||||
<th class="invoice-payment-limit-date">{% trans "Payment limit date" %}</th>
|
||||
<th class="invoice-amount">{% trans "Amount" %}</th>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in items %}
|
||||
<tr>
|
||||
<td>{{ item.display_id }}</td>
|
||||
<td>{{ item.subject }}</td>
|
||||
<td>{{ item.creation_date|date:"SHORT_DATE_FORMAT" }}</td>
|
||||
<td>{{ item.payment_limit_date|date:"SHORT_DATE_FORMAT" }}</td>
|
||||
<td class="amount">{% blocktrans with amount=item.total_amount|floatformat:"2" %}
|
||||
<td class="invoice-id">{{ item.display_id }}</td>
|
||||
<td class="invoice-subject">{{ item.subject }}</td>
|
||||
<td class="invoice-creation-date">{{ item.creation_date|date:"SHORT_DATE_FORMAT" }}</td>
|
||||
<td class="invoice-payment-limit-date">{{ item.payment_limit_date|date:"SHORT_DATE_FORMAT" }}</td>
|
||||
<td class="invoice-amount amount">{% blocktrans with amount=item.total_amount|floatformat:"2" %}
|
||||
{{ amount }}€
|
||||
{% endblocktrans %}
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue