Show period in invoices page
This commit is contained in:
		
					parent
					
						
							
								8b6619f788
							
						
					
				
			
			
				commit
				
					
						0c4e0f1070
					
				
			
		
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -19,6 +19,7 @@
 | 
				
			||||||
        <thead>
 | 
					        <thead>
 | 
				
			||||||
            <tr>
 | 
					            <tr>
 | 
				
			||||||
                <th>{% trans "Invoice Nr." %}</th>
 | 
					                <th>{% trans "Invoice Nr." %}</th>
 | 
				
			||||||
 | 
					                <th>{% trans "Period" %}</th>
 | 
				
			||||||
                <th>{% trans "Date" %}</th>
 | 
					                <th>{% trans "Date" %}</th>
 | 
				
			||||||
                <th>{% trans "Amount" %}</th>
 | 
					                <th>{% trans "Amount" %}</th>
 | 
				
			||||||
                <th></th>
 | 
					                <th></th>
 | 
				
			||||||
| 
						 | 
					@ -28,6 +29,7 @@
 | 
				
			||||||
            {% for invoice in invoices %}
 | 
					            {% for invoice in invoices %}
 | 
				
			||||||
                <tr>
 | 
					                <tr>
 | 
				
			||||||
                    <td class="xs-td-inline" data-header="{% trans 'Invoice Nr.' %}">{{ invoice.invoice_number }}</td>
 | 
					                    <td class="xs-td-inline" data-header="{% trans 'Invoice Nr.' %}">{{ invoice.invoice_number }}</td>
 | 
				
			||||||
 | 
					                    <td class="xs-td-inline" data-header="{% trans 'Period' %}">{{ invoice.period_start | date: 'Y-m-d' }} — {{ invoice.period_end | date: 'Y-m-d' }}</td>
 | 
				
			||||||
                    <td class="xs-td-bighalf locale_date" data-header="{% trans 'Date' %}">{{ invoice.paid_at | date:'Y-m-d h:i a' }}</td>
 | 
					                    <td class="xs-td-bighalf locale_date" data-header="{% trans 'Date' %}">{{ invoice.paid_at | date:'Y-m-d h:i a' }}</td>
 | 
				
			||||||
                    <td class="xs-td-smallhalf" data-header="{% trans 'Amount' %}">{{ invoice.total_in_chf|floatformat:2|intcomma }}</td>
 | 
					                    <td class="xs-td-smallhalf" data-header="{% trans 'Amount' %}">{{ invoice.total_in_chf|floatformat:2|intcomma }}</td>
 | 
				
			||||||
                    <td class="text-right last-td">
 | 
					                    <td class="text-right last-td">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue