app/components/solidus_admin/orders/show/summary/component.html.erb in solidus_admin-0.2.0 vs app/components/solidus_admin/orders/show/summary/component.html.erb in solidus_admin-0.3.0
- old
+ new
@@ -4,10 +4,10 @@
items: [
{ label: t('.subtotal'), value: number_to_currency(@order.item_total), class: 'font-semibold' },
{ label: t('.taxes'), value: number_to_currency(@order.additional_tax_total) },
{ label: t('.shipping'), value: number_to_currency(@order.shipment_total) },
{ label: link_to(t('.add_promo_code'), '#', class: "body-link"), value: number_to_currency(@order.promo_total) },
- { label: link_to(t('.adjustments'), '#', class: "body-link"), value: number_to_currency(@order.adjustment_total) },
+ { label: link_to(t('.adjustments'), solidus_admin.order_adjustments_path(@order), class: "body-link"), value: number_to_currency(@order.adjustment_total) },
{ label: t('.total'), value: number_to_currency(@order.total), class: 'font-semibold' }
]
) %>
<% end %>
</div>