Skip to content

Commit

Permalink
Merge pull request #25 from Setono/12-display-order-totals
Browse files Browse the repository at this point in the history
Display order totals
  • Loading branch information
Zales0123 authored Jun 27, 2024
2 parents 69f2fe6 + 343b1d6 commit 519a8aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Resources/views/admin/order/update/_order_items.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,9 @@
<h4 class="ui dividing header">{{ 'setono_sylius_order_edit.ui.order_discounts'|trans }}</h4>
{{ form_widget(form.discounts) }}
</div>
<div class="ui segment">
<h4 class="ui dividing header">{{ 'sylius.ui.order_summary'|trans }}</h4>
<br/>{{ 'sylius.ui.items_total'|trans }}: {{ money.format(order.itemsTotal, order.currencyCode) }}
<br/>{{ 'sylius.ui.shipping_total'|trans }}: {{ money.format(order.shippingTotal, order.currencyCode) }}
<br/><br/><span class="ui large header">{{ 'sylius.ui.order_total'|trans }}: {{ money.format(order.total, order.currencyCode) }}</span>
</div>

0 comments on commit 519a8aa

Please sign in to comment.