Skip to content

Commit

Permalink
Merge pull request #5919 from spryker/bugfix/ps-3096-unable-to-view-o…
Browse files Browse the repository at this point in the history
…rder

PS-3096 [backward compatibility][case5] Unable to View order in Zed / Yves
  • Loading branch information
dereuromark committed Aug 16, 2019
2 parents cd54aa5 + 0e06599 commit c04480e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -14,7 +14,7 @@
<td>

<div>
{% embed '@Sales/Detail/boxes/discounted-price.twig' with {subtotal: productOption.sumPrice, priceToPay: productOption.sumPrice - productOption.sumDiscountAmountFullAggregation | default(0)} %} {% endembed %}
{% embed '@Sales/Detail/boxes/discounted-price.twig' with {subtotal: productOption.sumPrice | default(productOption.unitPrice), priceToPay: productOption.sumPrice | default(productOption.unitPrice)} %} {% endembed %}
</div>
<div class="tax-info">{{ "incl. %tax_amount% % tax" | trans({'%tax_amount%': productOption.taxRate|default(0)}) }}</div>
</td>
Expand Down
Expand Up @@ -18,7 +18,7 @@
<tr>
<td> + <span class="label">{{ 'Option' | trans }}</span> {{ orderItemOption.value }}</td>
<td></td>
<td class="text-right">{{ orderItemOption.sumPrice | money(true, order.currencyIsoCode) }}</td>
<td class="text-right">{{ (orderItemOption.sumPrice | default(orderItemOption.unitPrice)) | money(true, order.currencyIsoCode) }}</td>
<td></td>
</tr>
{% endfor %}
Expand All @@ -43,7 +43,7 @@
<tr>
<td></td>
<td> + {{ orderItemOption.value }}</td>
<td class="text-right">{{ orderItemOption.sumPrice | money(true, order.currencyIsoCode) }}</td>
<td class="text-right">{{ (orderItemOption.sumPrice | default(orderItemOption.unitPrice)) | money(true, order.currencyIsoCode) }}</td>
<td></td>
</tr>
{% endfor %}
Expand Down

0 comments on commit c04480e

Please sign in to comment.