- corretto componente CDateTime
- aggiunto componente CDateTimeStartEnd
This commit is contained in:
@@ -63,7 +63,9 @@ function AddCol(params: IColGridTable) {
|
||||
visulabel: params.visulabel === undefined ? true : params.visulabel,
|
||||
align: params.align === undefined ? 'left' : params.align,
|
||||
field: params.field === undefined ? params.name : params.field,
|
||||
field2: params.name2 || '',
|
||||
subfield: params.subfield === undefined ? '' : params.subfield,
|
||||
subfield2: params.subfield2 === undefined ? '' : params.subfield2,
|
||||
sortable: params.sortable === undefined ? true : params.sortable,
|
||||
disable: params.disable === undefined ? false : params.disable,
|
||||
titlepopupedit: params.titlepopupedit === undefined ? '' : params.titlepopupedit,
|
||||
@@ -3312,16 +3314,17 @@ export const colmyBachecas = [
|
||||
}),
|
||||
AddCol({
|
||||
name: 'dateTimeStart',
|
||||
name2: 'dateTimeEnd',
|
||||
label_trans: 'event.dateTimeStart',
|
||||
// jointable: toolsext.TABCALALLDATE,
|
||||
fieldtype: costanti.FieldType.date,
|
||||
fieldtype: costanti.FieldType.date2startend,
|
||||
// fieldtype: costanti.FieldType.select,
|
||||
// fieldtype_real: costanti.FieldType.onlydate,
|
||||
// fieldtype: costanti.FieldType.onlydate,
|
||||
icon: 'fas fa-calendar-day',
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
/*AddCol({
|
||||
name: 'dateTimeEnd',
|
||||
label_trans: 'event.dateTimeEnd',
|
||||
fieldtype: costanti.FieldType.date,
|
||||
@@ -3331,7 +3334,7 @@ export const colmyBachecas = [
|
||||
icon: 'fas fa-calendar-day',
|
||||
sortable: false,
|
||||
required: true,
|
||||
}),
|
||||
}),*/
|
||||
AddCol({
|
||||
name: 'idCity',
|
||||
label_trans: 'skill.cityorprovince',
|
||||
@@ -4482,6 +4485,7 @@ export const colTableProdShort = [
|
||||
label_trans: 'products.name',
|
||||
field: 'productInfo',
|
||||
subfield: 'name',
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'price',
|
||||
@@ -4964,13 +4968,9 @@ const colTableEvents = [
|
||||
}),
|
||||
AddCol({
|
||||
name: 'dateTimeStart',
|
||||
name2: 'dateTimeEnd',
|
||||
label_trans: 'event.dateTimeStart',
|
||||
fieldtype: costanti.FieldType.date,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'dateTimeEnd',
|
||||
label_trans: 'event.dateTimeEnd',
|
||||
fieldtype: costanti.FieldType.date,
|
||||
fieldtype: costanti.FieldType.date2startend,
|
||||
}),
|
||||
AddCol({ name: 'bgcolor', label_trans: 'event.bgcolor' }),
|
||||
AddCol({ name: 'icon', label_trans: 'event.icon' }),
|
||||
@@ -7117,7 +7117,7 @@ export const fieldsTable = {
|
||||
{
|
||||
value: 'products',
|
||||
label: 'Prodotti',
|
||||
columns: colTableProducts,
|
||||
columns: colTableProdShort,
|
||||
colkey: '_id',
|
||||
collabel: (rec: any) => `${rec.productInfo.name}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user