galleria prodotto
This commit is contained in:
@@ -130,7 +130,7 @@ export const colTableRaccoltaCataloghi = [
|
||||
AddCol({
|
||||
name: 'foto_raccolta',
|
||||
label_trans: 'racccat.foto_raccolta',
|
||||
fieldtype: costanti.FieldType.image,
|
||||
fieldtype: costanti.FieldType.imagerec,
|
||||
jointable: '',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
||||
isadvanced_field: false,
|
||||
@@ -186,7 +186,7 @@ export const colTableCatalogList = [
|
||||
AddCol({
|
||||
name: 'foto_collana',
|
||||
label_trans: 'cataloglist.foto_collana',
|
||||
fieldtype: costanti.FieldType.image,
|
||||
fieldtype: costanti.FieldType.imagerec,
|
||||
jointable: '',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
||||
isadvanced_field: false,
|
||||
@@ -254,7 +254,7 @@ export const colTableCatalogList = [
|
||||
AddCol({
|
||||
name: 'img_bordata',
|
||||
label_trans: 'cataloglist.img_bordata',
|
||||
fieldtype: costanti.FieldType.image,
|
||||
fieldtype: costanti.FieldType.imagerec,
|
||||
jointable: '',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
||||
isadvanced_field: false,
|
||||
@@ -262,7 +262,7 @@ export const colTableCatalogList = [
|
||||
AddCol({
|
||||
name: 'img_intro',
|
||||
label_trans: 'cataloglist.img_intro',
|
||||
fieldtype: costanti.FieldType.image,
|
||||
fieldtype: costanti.FieldType.imagerec,
|
||||
jointable: '',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
||||
isadvanced_field: false,
|
||||
@@ -282,7 +282,7 @@ export const colTableCatalogList = [
|
||||
AddCol({
|
||||
name: 'img_bordata_stampa',
|
||||
label_trans: 'cataloglist.img_bordata_stampa',
|
||||
fieldtype: costanti.FieldType.image,
|
||||
fieldtype: costanti.FieldType.imagerec,
|
||||
jointable: '',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
||||
isadvanced_field: false,
|
||||
@@ -290,7 +290,7 @@ export const colTableCatalogList = [
|
||||
AddCol({
|
||||
name: 'img_intro_stampa',
|
||||
label_trans: 'cataloglist.img_intro_stampa',
|
||||
fieldtype: costanti.FieldType.image,
|
||||
fieldtype: costanti.FieldType.imagerec,
|
||||
jointable: '',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
||||
isadvanced_field: false,
|
||||
@@ -371,7 +371,7 @@ export const colIText = [
|
||||
AddCol({ name: 'line_height', label_trans: 'catalogo.line_height', fieldtype: costanti.FieldType.number }),
|
||||
]
|
||||
export const colmyIImg = [
|
||||
AddCol({ name: 'imagefile', label_trans: 'iimg.imagefile', fieldtype: costanti.FieldType.image }),
|
||||
AddCol({ name: 'imagefile', label_trans: 'iimg.imagefile', fieldtype: costanti.FieldType.imagerec }),
|
||||
AddCol({ name: 'fit', label_trans: 'iimg.fit', fieldtype: costanti.FieldType.string }),
|
||||
]
|
||||
|
||||
@@ -504,7 +504,7 @@ export const colmyelems = [
|
||||
AddCol({
|
||||
name: 'image',
|
||||
label_trans: 'myelems.image',
|
||||
fieldtype: costanti.FieldType.image,
|
||||
fieldtype: costanti.FieldType.imagerec,
|
||||
}),
|
||||
AddCol(DeleteRec),
|
||||
AddCol(DuplicateRec),
|
||||
@@ -1737,7 +1737,7 @@ export const colAttivita = [
|
||||
AddCol({
|
||||
name: 'logo',
|
||||
label_trans: 'attivita.logo',
|
||||
fieldtype: costanti.FieldType.image,
|
||||
fieldtype: costanti.FieldType.imagerec,
|
||||
jointable: '',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
||||
isadvanced_field: false,
|
||||
@@ -2699,6 +2699,21 @@ export const colTableVariazioni = [
|
||||
AddCol({ name: 'eta', label_trans: 'catalogo.eta', fieldtype: costanti.FieldType.string }),
|
||||
]
|
||||
|
||||
export const colTableProductInfosShort = [
|
||||
AddCol({ name: 'code', label_trans: 'products.code', required: true }),
|
||||
AddCol({ name: 'name', label_trans: 'products.name' }),
|
||||
AddCol({ name: 'description', label_trans: 'products.description', fieldtype: costanti.FieldType.html }),
|
||||
AddCol({ name: 'imagefile', label_trans: 'products.img', fieldtype: costanti.FieldType.imgfile_sfuso, path: 'products/' }),
|
||||
AddCol({
|
||||
name: 'idCatProds',
|
||||
label_trans: 'products.category',
|
||||
fieldtype: costanti.FieldType.multiselect,
|
||||
jointable: 'catprods',
|
||||
}),
|
||||
AddCol(DeleteRec),
|
||||
AddCol(DuplicateRec),
|
||||
]
|
||||
|
||||
export const colTableProductInfos = [
|
||||
AddCol({ name: 'code', label_trans: 'products.code', required: true }),
|
||||
AddCol({ name: 'codice_EAN', label_trans: 'products.codice_EAN' }),
|
||||
@@ -2768,6 +2783,20 @@ export const colTableOrdersCart = [
|
||||
AddCol({ name: 'status', label_trans: 'orderscart.status', fieldtype: costanti.FieldType.number }),
|
||||
]
|
||||
|
||||
export const colTableProdShort = [
|
||||
AddCol({ name: 'active', label_trans: 'products.active', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'name', label_trans: 'products.name' }),
|
||||
AddCol({ name: 'price', label_trans: 'products.price', fieldtype: costanti.FieldType.number, required: true }),
|
||||
AddCol({ name: 'price_acquistato', label_trans: 'products.price_acquistato', fieldtype: costanti.FieldType.number, required: true }),
|
||||
AddCol({
|
||||
name: 'idProductInfo',
|
||||
label_trans: 'products.productInfo',
|
||||
fieldtype: costanti.FieldType.select,
|
||||
jointable: 'productinfos',
|
||||
}),
|
||||
|
||||
]
|
||||
|
||||
export const colTableProducts = [
|
||||
AddCol({ name: 'active', label_trans: 'products.active', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'isbn', label_trans: 'products.isbn' }),
|
||||
|
||||
Reference in New Issue
Block a user