Browse Source

Add total un invoice template

Fabs 10 years ago
parent
commit
3b9ccc400d
2 changed files with 10 additions and 0 deletions
  1. 5 0
      coin/billing/templates/billing/invoice.html
  2. 5 0
      coin/static/css/illyse.css

+ 5 - 0
coin/billing/templates/billing/invoice.html

@@ -23,6 +23,11 @@
             <td>{{ detail.total }}€</td>
         </tr>
         {% endfor %}
+        <tr class="total">
+            <td colspan="2"></td>
+            <td><strong>Total</strong></td>
+            <td>{{ invoice.amount }}</td>
+        </tr>
     </tbody>
 </table>
 

+ 5 - 0
coin/static/css/illyse.css

@@ -140,3 +140,8 @@ table.full-width {
 #invoice_details .period {
     color:#999;
 }
+
+#invoice_details tr.total>td {
+    font-weight:bold;
+    border-top:2px solid #DDD;
+}