diff --git a/app/views/spree/admin/orders/_form/_distribution_fields.html.haml b/app/views/spree/admin/orders/_form/_distribution_fields.html.haml index 2e57008825..c51fe5c006 100644 --- a/app/views/spree/admin/orders/_form/_distribution_fields.html.haml +++ b/app/views/spree/admin/orders/_form/_distribution_fields.html.haml @@ -4,12 +4,12 @@ - if @order.complete? .alpha.six.columns %p - %b= "#{t(:distributor)}:" + %b= t('.distributor') = @order.distributor.andand.name || t(:none) %input{type: "hidden", id: "order_distributor_id", value: @order.distributor.andand.id} .omega.six.columns %p - %b= "#{t(:order_cycle)}:" + %b= t('.order_cycle') = @order.order_cycle.andand.name || t(:none) %input{type: "hidden", id: "order_order_cycle_id", value: @order.order_cycle.andand.id} - else @@ -24,7 +24,7 @@ .omega.six.columns .field - %label{ for: "order_order_cycle_id"}= t(:order_cycle) + %label{for: "order_order_cycle_id"}= t(:order_cycle) %input.ofn-select2.fullwidth{id: "order_order_cycle_id", type: 'number', name: "order[order_cycle_id]", diff --git a/config/locales/en.yml b/config/locales/en.yml index 72f9be5d0e..690ed3403c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2041,6 +2041,8 @@ Please follow the instructions there to make your enterprise visible on the Open form: distribution_fields: title: Distribution + distributor: "Distributor:" + order_cycle: "Order cycle:" overview: order_cycles: order_cycles: "Order Cycles"