diff --git a/app/views/trade/agent/orders/_base/_index_tr.html+pad.erb b/app/views/trade/agent/orders/_base/_index_tr.html+pad.erb index 59ca329f1..940e65fa7 100644 --- a/app/views/trade/agent/orders/_base/_index_tr.html+pad.erb +++ b/app/views/trade/agent/orders/_base/_index_tr.html+pad.erb @@ -14,13 +14,13 @@ <% end %>
- <%= link_to({ controller: 'trade/admin/refunds', order_id: model.id }, class: 'button is-small is-rounded is-link') do %> - <%= t('trade.admin.refunds.index.title') %> + <%= link_to({ controller: 'refunds', order_id: model.id }, class: 'button is-small is-rounded is-link') do %> + <%= t('.refunds.index.title') %> <% end if ['refunding', 'refunded', 'denied'].include?(model.payment_status) %> <% if ['unpaid', 'part_paid'].include?(model.payment_status) %> - <%= button_to({ controller: 'order_payments', action: 'new', order_id: model.id }, class: 'button is-small is-rounded is-danger') do %> + <%= button_to({ action: 'payment_types', id: model.id }, class: 'button is-small is-rounded is-danger') do %> - <%= t('.order_payments.new.title') %> + <%= t('.payment_types.title') %> <% end %> <%= button_to({ controller: 'order_payments', action: 'new_micro', order_id: model.id }, class: 'button is-small is-rounded is-danger') do %>