app/views/workarea/admin/pricing_skus/index.html.haml in workarea-admin-3.4.27 vs app/views/workarea/admin/pricing_skus/index.html.haml in workarea-admin-3.4.28
- old
+ new
@@ -45,12 +45,11 @@
.checkbox
= check_box_tag 'select_all', nil, false, id: 'select_all', class: 'checkbox__input', data: { bulk_action_select_all: '' }
= label_tag 'select_all', t('workarea.admin.bulk_actions.select_all'), class: 'checkbox__label'
%th= t('workarea.admin.fields.sku')
%th.align-right= t('workarea.admin.fields.msrp')
- %th.align-right= t('workarea.admin.fields.regular')
- %th.align-right= t('workarea.admin.fields.sale_price')
+ %th.align-right= t('workarea.admin.fields.sell_price')
%th.align-center= t('workarea.admin.fields.on_sale')
%th.align-center= t('workarea.admin.fields.allow_discounting')
%th= t('workarea.admin.fields.updated_at')
%tbody
- @search.results.each do |result|
@@ -61,11 +60,10 @@
= label_tag dom_id(result), '', class: 'checkbox__label', title: t('workarea.admin.bulk_actions.add_summary_button')
%td
= link_to result.id, pricing_sku_path(result)
= upcoming_changesets_icon_for(result)
%td.align-right= number_to_currency result.msrp
- %td.align-right= number_to_currency result.regular_price
- %td.align-right= number_to_currency result.sale_price
+ %td.align-right= result.sell_price
%td.align-center= t("workarea.admin.#{result.on_sale?}")
%td.align-center= t("workarea.admin.#{result.discountable?}")
%td= local_time_ago(result.updated_at)
- if @search.results.total_pages > 1