v.2.15
Discounts block update
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<th>Блюдо (со скидкой)</th>
|
||||
<th>Количество</th>
|
||||
<th class="text-right">Цена, BYN</th>
|
||||
<th class="text-right">Cкидка, BYN</th>
|
||||
<th class="text-right">Сумма, BYN</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -21,8 +22,9 @@
|
||||
<tr ng-repeat="item in order.items">
|
||||
<td>{{ item.name }} ({{ item.discount }}%)</td>
|
||||
<td>{{ item.count }}</td>
|
||||
<td class="text-right">{{ item.sale_price | curr }}</td>
|
||||
<td class="text-right">{{ item.sum | curr }}</td>
|
||||
<td class="text-right">{{ (item.sum * item.discount) / 100 | curr }}</td>
|
||||
<td class="text-right">{{ item.sale_price | curr }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<thead>
|
||||
|
||||
Reference in New Issue
Block a user