Skip to content

Commit

Permalink
[Admin] Hide refund button next to the payment
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Nov 28, 2024
1 parent 1aec985 commit b0f5e2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/app/twig_hooks/admin/order/show.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ sylius_twig_hooks:
template: '@SyliusRefundPlugin/order/admin/content/sections/payments/refund_items.html.twig'
priority: -200

'sylius_admin.order.show.content.sections.payments.item.actions':
refund:
enabled: false

'sylius_admin.order.show.content.sections.payments.refund_header':
title:
template: '@SyliusRefundPlugin/order/admin/content/sections/payments/header/title.html.twig'
Expand Down

0 comments on commit b0f5e2f

Please sign in to comment.