diff --git a/app/views/admin/variant_overrides/_products.html.haml b/app/views/admin/variant_overrides/_products.html.haml index 7b94c05f33..14b0298875 100644 --- a/app/views/admin/variant_overrides/_products.html.haml +++ b/app/views/admin/variant_overrides/_products.html.haml @@ -10,14 +10,22 @@ %col.inheritance{ width: "5%", ng: { show: 'columns.inheritance.visible' } } %thead %tr{ ng: { controller: "ColumnsCtrl" } } - %th.producer{ ng: { show: 'columns.producer.visible' } } = t(:producer) - %th.product{ ng: { show: 'columns.product.visible' } } = t(:product) - %th.sku{ ng: { show: 'columns.sku.visible' } } SKU - %th.price{ ng: { show: 'columns.price.visible' } } = t(:price) - %th.on_hand{ ng: { show: 'columns.on_hand.visible' } } = t(:on_hand) - %th.on_demand{ ng: { show: 'columns.on_demand.visible' } } On Demand? - %th.reset{ colspan: 2, ng: { show: 'columns.reset.visible' } } Enable Stock Level Reset? - %th.inheritance{ ng: { show: 'columns.inheritance.visible' } } Inherit? + %th.producer{ ng: { show: 'columns.producer.visible' } } + = t(:producer) + %th.product{ ng: { show: 'columns.product.visible' } } + = t(:product) + %th.sku{ ng: { show: 'columns.sku.visible' } } + = t(:products_sku) + %th.price{ ng: { show: 'columns.price.visible' } } + = t(:price) + %th.on_hand{ ng: { show: 'columns.on_hand.visible' } } + = t(:on_hand) + %th.on_demand{ ng: { show: 'columns.on_demand.visible' } } + = t(:products_on_demand) + %th.reset{ colspan: 2, ng: { show: 'columns.reset.visible' } } + = t(:products_stock_level_reset) + %th.inheritance{ ng: { show: 'columns.inheritance.visible' } } + = t(:products_inherit) %tbody{bindonce: true, ng: {repeat: 'product in products | hubPermissions:hubPermissions:hub.id | attrFilter:{producer_id:producerFilter} | filter:query' } } = render 'admin/variant_overrides/products_product' = render 'admin/variant_overrides/products_variants' diff --git a/config/locales/en.yml b/config/locales/en.yml index 15a978493b..e26c543935 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -480,11 +480,13 @@ See the %{link} to find out more about %{sitename}'s features and to start using products_name: "name" products_unit: "unit" products_on_hand: "on hand" - products_on_demand: "on demand" + products_on_demand: "On demand?" products_category: "Category" products_tax_category: "tax category" products_available_on: "Available On" + products_inherit: "Inherit?" products_inherits_properties: "Inherits Properties?" + products_stock_level_reset: "Enable Stock Level Reset?" register_title: Register