|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
|
2
|
{% extends 'dashboard/layout.html' %}
|
|
2
|
3
|
{% load url from future %}
|
|
3
|
4
|
{% load i18n %}
|
|
|
@@ -99,7 +100,8 @@
|
|
99
|
100
|
<th>{% trans "Supplier" %}</th>
|
|
100
|
101
|
<th>{% trans "Supplier SKU" %}</th>
|
|
101
|
102
|
<th>{% trans "Est. delivery date" %}</th>
|
|
102
|
|
- <th>{% trans "Price (before discounts)" %}</th>
|
|
|
103
|
+ <th>{% trans "Price excl tax (before discounts)" %}</th>
|
|
|
104
|
+ <th>{% trans "Price inc tax (before discounts)" %}</th>
|
|
103
|
105
|
<th>{% trans "Actions" %}</th>
|
|
104
|
106
|
</tr>
|
|
105
|
107
|
</thead>
|
|
|
@@ -129,6 +131,7 @@
|
|
129
|
131
|
</td>
|
|
130
|
132
|
<td>{{ line.partner_sku }}</td>
|
|
131
|
133
|
<td>{{ line.est_dispatch_date|default:"-" }}</td>
|
|
|
134
|
+ <td style="text-align: right">{{ line.line_price_before_discounts_excl_tax|currency:order.currency }}</td>
|
|
132
|
135
|
<td style="text-align: right">{{ line.line_price_before_discounts_incl_tax|currency:order.currency }}</td>
|
|
133
|
136
|
<td>
|
|
134
|
137
|
<a href="{% url 'dashboard:order-line-detail' number=order.number line_id=line.id %}" class="btn btn-info">{% trans "View" %}</a>
|
|
|
@@ -139,6 +142,7 @@
|
|
139
|
142
|
<tr>
|
|
140
|
143
|
<td colspan="7"></td>
|
|
141
|
144
|
<th>{% trans "Discount" %}</th>
|
|
|
145
|
+ <td style="text-align: right">{{ order.total_discount_excl_tax|currency:order.currency }}</td>
|
|
142
|
146
|
<td style="text-align: right">{{ order.total_discount_incl_tax|currency:order.currency }}</td>
|
|
143
|
147
|
<td></td>
|
|
144
|
148
|
</tr>
|
|
|
@@ -147,6 +151,7 @@
|
|
147
|
151
|
<tr>
|
|
148
|
152
|
<td colspan="7"></td>
|
|
149
|
153
|
<th>{% trans "Basket total (excl. discounts)" %}</th>
|
|
|
154
|
+ <td style="text-align: right">{{ order.basket_total_before_discounts_excl_tax|currency:order.currency }}</td>
|
|
150
|
155
|
<td style="text-align: right">{{ order.basket_total_before_discounts_incl_tax|currency:order.currency }}</td>
|
|
151
|
156
|
<td></td>
|
|
152
|
157
|
</tr>
|
|
|
@@ -157,6 +162,7 @@
|
|
157
|
162
|
<span class="label label-success">{% trans "Discount" %}</span>
|
|
158
|
163
|
{{ discount.offer_name }}
|
|
159
|
164
|
</td>
|
|
|
165
|
+ <td style="text-align: right"></td>
|
|
160
|
166
|
<td style="text-align: right">- {{ discount.amount|currency:order.currency }}</td>
|
|
161
|
167
|
<td></td>
|
|
162
|
168
|
</tr>
|
|
|
@@ -164,6 +170,7 @@
|
|
164
|
170
|
<tr>
|
|
165
|
171
|
<td colspan="7"></td>
|
|
166
|
172
|
<th>{% trans "Basket total (inc. discounts)" %}</th>
|
|
|
173
|
+ <th style="text-align: right">{{ order.basket_total_excl_tax|currency:order.currency }}</th>
|
|
167
|
174
|
<th style="text-align: right">{{ order.basket_total_incl_tax|currency:order.currency }}</th>
|
|
168
|
175
|
<td></td>
|
|
169
|
176
|
</tr>
|
|
|
@@ -171,6 +178,7 @@
|
|
171
|
178
|
<tr>
|
|
172
|
179
|
<td colspan="7"></td>
|
|
173
|
180
|
<th>{% trans "Basket total" %}</th>
|
|
|
181
|
+ <th style="text-align: right">{{ order.basket_total_excl_tax|currency:order.currency }}</th>
|
|
174
|
182
|
<th style="text-align: right">{{ order.basket_total_incl_tax|currency:order.currency }}</th>
|
|
175
|
183
|
<td></td>
|
|
176
|
184
|
</tr>
|
|
|
@@ -181,6 +189,7 @@
|
|
181
|
189
|
<tr>
|
|
182
|
190
|
<td colspan="7"></td>
|
|
183
|
191
|
<td>{% trans "Shipping total (excl. discounts)" %}</td>
|
|
|
192
|
+ <td style="text-align: right">{{ order.shipping_before_discounts_excl_tax|currency:order.currency }}</td>
|
|
184
|
193
|
<td style="text-align: right">{{ order.shipping_before_discounts_incl_tax|currency:order.currency }}</td>
|
|
185
|
194
|
<td></td>
|
|
186
|
195
|
</tr>
|
|
|
@@ -191,6 +200,7 @@
|
|
191
|
200
|
<span class="label label-success">{% trans "Discount" %}</span>
|
|
192
|
201
|
{{ discount.offer_name }}
|
|
193
|
202
|
</td>
|
|
|
203
|
+ <td></td>
|
|
194
|
204
|
<td style="text-align: right">- {{ discount.amount|currency:order.currency }}</td>
|
|
195
|
205
|
<td></td>
|
|
196
|
206
|
</tr>
|
|
|
@@ -198,6 +208,7 @@
|
|
198
|
208
|
<tr>
|
|
199
|
209
|
<td colspan="7"></td>
|
|
200
|
210
|
<th>{% trans "Shipping total (inc. discounts)" %}</th>
|
|
|
211
|
+ <th style="text-align: right">{{ order.shipping_excl_tax|currency:order.currency }}</th>
|
|
201
|
212
|
<th style="text-align: right">{{ order.shipping_incl_tax|currency:order.currency }}</th>
|
|
202
|
213
|
<td></td>
|
|
203
|
214
|
</tr>
|
|
|
@@ -205,6 +216,7 @@
|
|
205
|
216
|
<tr>
|
|
206
|
217
|
<td colspan="7"></td>
|
|
207
|
218
|
<th>{% trans "Shipping total" %}</th>
|
|
|
219
|
+ <th style="text-align: right">{{ order.shipping_excl_tax|currency:order.currency }}</th>
|
|
208
|
220
|
<th style="text-align: right">{{ order.shipping_incl_tax|currency:order.currency }}</th>
|
|
209
|
221
|
<td></td>
|
|
210
|
222
|
</tr>
|
|
|
@@ -213,6 +225,7 @@
|
|
213
|
225
|
<tr>
|
|
214
|
226
|
<td colspan="7"></td>
|
|
215
|
227
|
<th>{% trans "Order total" %}</th>
|
|
|
228
|
+ <th style="text-align: right">{{ order.total_excl_tax|currency:order.currency }}</th>
|
|
216
|
229
|
<th style="text-align: right">{{ order.total_incl_tax|currency:order.currency }}</th>
|
|
217
|
230
|
<td></td>
|
|
218
|
231
|
</tr>
|