Skip to content

Commit e1bc9df

Browse files
committed
Minor changes
1 parent 3fe977b commit e1bc9df

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set item = hookable_metadata.context.item %}
22

33
<td>
4-
{{ '%0.2f'|format(item.netValue/100) }}
4+
{{ (item.netValue / 100)|number_format(2) }}
55
</td>

templates/admin/credit_memo/show/list.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<td>{{ credit_memo.issuedAt|date('d-m-Y') }}</td>
2222
<td>
2323
<div class="ui buttons">
24-
{% hook 'sylius_admin.order.show.content.sections.credit_memos.credit_memos.item.actions' %}
24+
{% hook 'sylius_admin.order.show.content.sections.credit_memos.credit_memos.items.actions' %}
2525
</div>
2626
</td>
2727
</tr>

templates/admin/order/refund/content/sections/form/items/table/body/shipment.html.twig

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
<div class="input-group">
2323
<div class="input-group-text">{{ order.currencyCode|sylius_currency_symbol }}</div>
24-
{% set inputName = "sylius_refund_shipments["~shipping_adjustment.id~"][amount]" %}
25-
<input data-refund-input type="number" step="0.01" class="form-control" name="{{ inputName }}" {% if not can_unit_be_refunded(shipping_adjustment.id, shipment_refund_type) %} disabled{% endif %}/>
24+
{% set input_name = "sylius_refund_shipments["~shipping_adjustment.id~"][amount]" %}
25+
<input data-refund-input type="number" step="0.01" class="form-control" name="{{ input_name }}" {% if not can_unit_be_refunded(shipping_adjustment.id, shipment_refund_type) %} disabled{% endif %}/>
2626
</div>
2727
</td>
2828
<td class="aligned collapsing">

0 commit comments

Comments
 (0)