Adds transactions and some tooltips++

This commit is contained in:
nikolark committed 2012-03-19 22:20:32 +01:00
1 parent 0cbda8e0c5
commit 14f4a9ec3d
10 files changed
+108 -20

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
<div id="modal-order-{{order.id}}" class="modal" style="display: none;">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal">×</a>
<h3>Er du sikker?</h3>
</div>
<div class="modal-body">
<p>
Orderen til <strong>{{ order.customer.first_name }} {{ order.customer.last_name|slice:":1"}}</strong> fra {{ order.created }} vil bli <em>slettet</em>.</p>
<p>
Orderen inneholdt:
<ul>
{% for line in order.orderline_set.all %}
<li>
<span class="bold">{{ line.amount}}</span>
<a href="#" class="product" title="{{ line.unit_price}} per">{{ line.product }}</a>
</li>
{% endfor %}
</ul>
Totalt: {{ order.order_sum }},-
</p>
<p>
<strong>{{ order.customer.first_name }} {{ order.customer.last_name|slice:":1"}}</strong> sin saldo vil bli kreditert {{ order.order_sum }} kr.
</p>
<p>Vil du fortsette?</p>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Nei</a>
<a href="#" class="btn btn-danger"><i class="icon-trash icon-white"></i> Ja</a>
</div>
</div>