available_on column has been deleted

https://github.com/openfoodfoundation/openfoodnetwork/pull/11136
This commit is contained in:
Jean-Baptiste Bellet
2023-07-12 08:50:24 +02:00
parent fac02c794c
commit dec779a357
2 changed files with 0 additions and 7 deletions

View File

@@ -8,7 +8,6 @@
%col{ width:"10%" }
%col{ width:"5%" }
%col{ width:"5%", style: "max-width:5em" }
%col{ width:"8%", style: "max-width:8em" }
%thead
%tr
%th.align-left= t('admin.product.name')
@@ -20,7 +19,6 @@
%th.align-left= t('admin.category')
%th.align-left= t('admin.tax_category')
%th.align-left= t('admin.inherits_properties')
%th.align-right= t('admin.available_on')
- products.each do |product|
%tbody.relaxed
%tr
@@ -46,8 +44,6 @@
.line-clamp-1= product.tax_category&.name
%td.align-left
.line-clamp-1= product.inherits_properties ? 'YES' : 'NO' #TODO: consider using https://github.com/RST-J/human_attribute_values, else use I18n.t (also below)
%td.align-right
.line-clamp-1= product.available_on&.strftime('%F')
- product.variants.each do |variant|
%tr.condensed
%td.align-left
@@ -68,6 +64,4 @@
.line-clamp-1= variant.tax_category&.name
%td.align-left
.line-clamp-1= variant.product.inherits_properties ? 'YES' : 'NO' # same as product
%td.align-right
.line-clamp-1= variant.available_on&.strftime('%F')

View File

@@ -4258,7 +4258,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using
category: Category
tax_category: Tax Category
inherits_properties?: Inherits Properties?
available_on: Available On
av_on: "Av. On"
import_date: "Import Date"
products_variant: