parent
							
								
									a0e0a142e4
								
							
						
					
					
						commit
						c05deeb26c
					
				
					 1 changed files with 17 additions and 6 deletions
				
			
		|  | @ -29,18 +29,29 @@ | ||||||
|       <td>{{ line_item.description }}</td> |       <td>{{ line_item.description }}</td> | ||||||
|       <td class="text-right">{{ line_item.quantity }}</td> |       <td class="text-right">{{ line_item.quantity }}</td> | ||||||
|       <td class="text-right">${{ line_item.price }}</td> |       <td class="text-right">${{ line_item.price }}</td> | ||||||
|       <td class="text-right">${{ line_item.price|multiply:line_item.quantity }}</td> |       <td class="text-right">${{ line_item.total_price }}</td> | ||||||
|     </tr> |     </tr> | ||||||
|   {% endfor %} |   {% endfor %} | ||||||
|  | 
 | ||||||
|   <tr> |   <tr> | ||||||
|     <th>TOTAL</th> |     <th colspan="3">TOTAL</th> | ||||||
|     <td></td> |  | ||||||
|     <td></td> |  | ||||||
|     <td class="text-right">${{ invoice.value }}</td> |     <td class="text-right">${{ invoice.value }}</td> | ||||||
|   </tr> |   </tr> | ||||||
| </table> | </table> | ||||||
| 
 | 
 | ||||||
|  | <table class="table table-striped"> | ||||||
|  | 
 | ||||||
|  |   <tr> | ||||||
|  |     <td colspan="3">Total payments:</td> | ||||||
|  |     <td class="text-right">${{ invoice.total_payments }}</td> | ||||||
|  |   </tr> | ||||||
|  |   <tr> | ||||||
|  |     <td colspan="3">Balance due:</td> | ||||||
|  |     <td class="text-right">${{ invoice.balance_due }}</td> | ||||||
|  |   </tr> | ||||||
|  | </table> | ||||||
|  | 
 | ||||||
| {% if invoice.paymentbase_set.all %} | {% if invoice.paymentbase_set.all %} | ||||||
| <h4>Payments received</h4> |   <h4>Payments received</h4> | ||||||
| {% include "registrasion/payment_list.html" with payments=invoice.paymentbase_set.all %} |   {% include "registrasion/payment_list.html" with payments=invoice.paymentbase_set.all %} | ||||||
| {% endif %} | {% endif %} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer