imbric-theme 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/.dockerignore +14 -0
- package/.eslintignore +1 -0
- package/.prettierignore +1 -0
- package/.storybook/main.js +6 -2
- package/.storybook/preview.js +21 -0
- package/.vscode/settings.json +3 -0
- package/Dockerfile +17 -0
- package/README.md +2 -2
- package/atoms/AlertModal/AlertModal.js +69 -0
- package/atoms/AlertModal/AlertModal.module.css +3 -0
- package/atoms/AlertModal/AlertModal.stories.js +30 -0
- package/atoms/AlertModal/constants.js +4 -0
- package/atoms/AlertModal/index.js +3 -0
- package/atoms/Button/Button.js +17 -2
- package/atoms/Button/Button.module.css +25 -3
- package/atoms/Button/Button.stories.js +1 -1
- package/atoms/Button/__snapshots__/Button.stories.js.snap +8 -8
- package/atoms/Check/Check.js +6 -4
- package/atoms/Checkbox/Checkbox.js +77 -0
- package/atoms/Checkbox/Checkbox.module.css +60 -0
- package/atoms/Checkbox/Checkbox.stories.js +30 -0
- package/atoms/Checkbox/constants.js +1 -0
- package/atoms/Checkbox/index.js +3 -0
- package/atoms/Divider/Divider.js +5 -2
- package/atoms/Divider/Divider.module.css +20 -0
- package/atoms/Divider/Divider.stories.js +13 -2
- package/atoms/Divider/constants.js +3 -0
- package/atoms/Divider/index.js +1 -0
- package/atoms/Heading/Heading.js +1 -1
- package/atoms/Heading/Heading.module.css +4 -0
- package/atoms/Heading/Heading.stories.js +2 -2
- package/atoms/Heading/__snapshots__/Heading.stories.js.snap +16 -16
- package/atoms/Heading/constants.js +1 -1
- package/atoms/Icon/Icon.js +1 -1
- package/atoms/Icon/Icon.module.css +30 -0
- package/atoms/Icon/constants.js +750 -145
- package/atoms/Input/Input.js +195 -15
- package/atoms/Input/Input.module.css +62 -6
- package/atoms/Input/Input.stories.js +8 -2
- package/atoms/Input/__snapshots__/Input.stories.js.snap +5 -5
- package/atoms/Input/constants.js +1 -1
- package/atoms/Label/Label.js +31 -0
- package/atoms/Label/Label.module.css +42 -0
- package/atoms/Label/Label.stories.js +26 -0
- package/atoms/Label/constants.js +1 -0
- package/atoms/Label/index.js +3 -0
- package/atoms/LinkItem/LinkItem.js +38 -0
- package/atoms/{Link/Link.module.css → LinkItem/LinkItem.module.css} +6 -1
- package/atoms/{Link/Link.stories.js → LinkItem/LinkItem.stories.js} +5 -5
- package/atoms/LinkItem/index.js +3 -0
- package/atoms/Modal/Modal.js +27 -4
- package/atoms/Modal/Modal.module.css +63 -6
- package/atoms/Paragraph/Paragraph.module.css +4 -0
- package/atoms/Paragraph/Paragraph.stories.js +2 -2
- package/atoms/Paragraph/__snapshots__/Paragraph.stories.js.snap +16 -16
- package/atoms/Picture/Picture.js +9 -2
- package/atoms/Tab/Tab.js +41 -0
- package/atoms/Tab/Tab.module.css +17 -0
- package/atoms/Tab/Tab.stories.js +27 -0
- package/atoms/Tab/constants.js +1 -0
- package/atoms/Tab/index.js +3 -0
- package/atoms/Textarea/Textarea.js +106 -15
- package/atoms/Textarea/Textarea.module.css +31 -2
- package/atoms/Toggle/Toggle.js +56 -0
- package/atoms/Toggle/Toggle.module.css +41 -0
- package/atoms/Toggle/Toggle.stories.js +21 -0
- package/atoms/Toggle/constants.js +1 -0
- package/atoms/Toggle/index.js +3 -0
- package/helpers/storybook.js +2 -2
- package/hook/useAddColumn.js +40 -0
- package/hook/useStateDate.js +25 -0
- package/hook/useTable.js +54 -0
- package/index.js +41 -1
- package/jest.config.js +1 -1
- package/layout/DynamicTable/DynamicTable.js +372 -0
- package/layout/DynamicTable/DynamicTable.module.css +62 -0
- package/layout/DynamicTable/DynamicTable.stories.js +79 -0
- package/layout/DynamicTable/constants.js +323 -0
- package/layout/DynamicTable/index.js +3 -0
- package/layout/FlexColumnContent/FlexColumnContent.js +26 -0
- package/layout/FlexColumnContent/FlexColumnContent.module.css +5 -0
- package/layout/FlexColumnContent/FlexColumnContent.stories.js +28 -0
- package/layout/FlexColumnContent/constants.js +1 -0
- package/layout/FlexColumnContent/index.js +3 -0
- package/layout/Navbar/Navbar.js +247 -0
- package/layout/Navbar/Navbar.module.css +35 -0
- package/layout/Navbar/Navbar.stories.js +20 -0
- package/layout/Navbar/constants.js +35 -0
- package/layout/Navbar/index.js +2 -0
- package/layout/Sidebar/Sidebar.js +115 -0
- package/layout/Sidebar/Sidebar.module.css +387 -0
- package/layout/Sidebar/Sidebar.stories.js +28 -0
- package/layout/Sidebar/constants.js +228 -0
- package/layout/Sidebar/index.js +3 -0
- package/molecules/Accordion/Accordion.js +11 -11
- package/molecules/CardDefault/CardDefault.js +65 -0
- package/molecules/CardDefault/CardDefault.module.css +19 -0
- package/molecules/CardDefault/CardDefault.stories.js +23 -0
- package/molecules/CardDefault/constants.js +1 -0
- package/molecules/CardDefault/index.js +3 -0
- package/molecules/CardProductTypesBooking/CardProductTypesBooking.js +89 -0
- package/molecules/CardProductTypesBooking/CardProductTypesBooking.module.css +118 -0
- package/molecules/CardProductTypesBooking/CardProductTypesBooking.stories.js +25 -0
- package/molecules/CardProductTypesBooking/constants.js +1 -0
- package/molecules/CardProductTypesBooking/index.js +3 -0
- package/molecules/CardServiceDetail/CardServiceDetail.js +400 -0
- package/molecules/CardServiceDetail/CardServiceDetail.module.css +222 -0
- package/molecules/CardServiceDetail/CardServiceDetail.stories.js +23 -0
- package/molecules/CardServiceDetail/constants.js +1 -0
- package/molecules/CardServiceDetail/index.js +3 -0
- package/molecules/CardServices/CardServices.js +461 -0
- package/molecules/CardServices/CardServices.module.css +213 -0
- package/molecules/CardServices/CardServices.stories.js +41 -0
- package/molecules/CardServices/constants.js +5 -0
- package/molecules/CardServices/index.js +3 -0
- package/molecules/CardServicesFinalized/CardServicesFinalized.js +381 -0
- package/molecules/CardServicesFinalized/CardServicesFinalized.module.css +213 -0
- package/molecules/CardServicesFinalized/CardServicesFinalized.stories.js +23 -0
- package/molecules/CardServicesFinalized/constants.js +1 -0
- package/molecules/CardServicesFinalized/index.js +3 -0
- package/molecules/CheckList/CheckList.js +135 -0
- package/molecules/CheckList/CheckList.module.css +94 -0
- package/molecules/CheckList/CheckList.stories.js +25 -0
- package/molecules/CheckList/constants.js +23 -0
- package/molecules/CheckList/index.js +3 -0
- package/molecules/ColumnTable/ColumnTable.js +155 -0
- package/molecules/ColumnTable/ColumnTable.module.css +51 -0
- package/molecules/ColumnTable/ColumnTable.stories.js +26 -0
- package/molecules/ColumnTable/constants.js +117 -0
- package/molecules/ColumnTable/index.js +3 -0
- package/molecules/DatePicker/DatePicker.js +242 -0
- package/molecules/DatePicker/DatePicker.module.css +38 -0
- package/molecules/DatePicker/DatePicker.stories.js +23 -0
- package/molecules/DatePicker/constants.js +3 -0
- package/molecules/DatePicker/index.js +3 -0
- package/molecules/DatePickerTime/DatePickerTime.js +133 -0
- package/molecules/DatePickerTime/DatePickerTime.module.css +3 -0
- package/molecules/DatePickerTime/DatePickerTime.stories.js +18 -0
- package/molecules/DatePickerTime/constants.js +1 -0
- package/molecules/DatePickerTime/index.js +3 -0
- package/molecules/Dropdown/Dropdown.js +26 -23
- package/molecules/Dropdown/Dropdown.module.css +21 -3
- package/molecules/DynamicSelect/DynamicSelect.js +186 -0
- package/molecules/DynamicSelect/DynamicSelect.module.css +10 -0
- package/molecules/DynamicSelect/DynamicSelect.stories.js +32 -0
- package/molecules/DynamicSelect/constants.js +7 -0
- package/molecules/DynamicSelect/index.js +3 -0
- package/molecules/Error/Error.js +2 -2
- package/molecules/Error/Error.module.css +3 -2
- package/molecules/FooterTable/FooterTable.js +166 -0
- package/molecules/FooterTable/FooterTable.module.css +63 -0
- package/molecules/FooterTable/FooterTable.stories.js +23 -0
- package/molecules/FooterTable/constants.js +9 -0
- package/molecules/FooterTable/index.js +3 -0
- package/molecules/InputAutocomplete/InputAutocomplete.js +221 -0
- package/molecules/InputAutocomplete/InputAutocomplete.module.css +55 -0
- package/molecules/InputAutocomplete/InputAutocomplete.stories.js +23 -0
- package/molecules/InputAutocomplete/constants.js +1 -0
- package/molecules/InputAutocomplete/index.js +3 -0
- package/molecules/ItemMenu/ItemMenu.js +134 -0
- package/molecules/ItemMenu/ItemMenu.module.css +363 -0
- package/molecules/ItemMenu/ItemMenu.stories.js +42 -0
- package/molecules/ItemMenu/constants.js +36 -0
- package/molecules/ItemMenu/index.js +3 -0
- package/molecules/RowTable/RowTable.js +928 -0
- package/molecules/RowTable/RowTable.module.css +63 -0
- package/molecules/RowTable/RowTable.stories.js +26 -0
- package/molecules/RowTable/constants.js +798 -0
- package/molecules/RowTable/index.js +3 -0
- package/molecules/Tabs/Tabs.js +59 -0
- package/molecules/Tabs/Tabs.module.css +13 -0
- package/molecules/Tabs/Tabs.stories.js +34 -0
- package/molecules/Tabs/constants.js +34 -0
- package/molecules/Tabs/index.js +3 -0
- package/package.json +34 -17
- package/pages/Login/Login.js +102 -0
- package/pages/Login/Login.module.css +5 -0
- package/pages/Login/Login.stories.js +23 -0
- package/pages/Login/constants.js +1 -0
- package/pages/Login/index.js +3 -0
- package/pages/Login/validation/loginSchema.js +5 -0
- package/public/favicon.ico +0 -0
- package/public/static/google-maps.png +0 -0
- package/public/static/images/folders-folder.svg +26 -0
- package/public/static/images/permissions.svg +14 -0
- package/public/static/images/reports-results.svg +18 -0
- package/public/static/logo.svg +19 -0
- package/public/static/logologin.png +0 -0
- package/public/static/logologin.svg +16 -0
- package/public/static/logologintagos.svg +19 -0
- package/public/static/logotipo.svg +50 -0
- package/public/static/logotipoS.svg +26 -0
- package/public/static/taxisvalencia_logod.png +0 -0
- package/scripts/create-component.js +2 -1
- package/styles/GrupoMutua.css +391 -0
- package/styles/default.css +391 -0
- package/styles/globals.css +1514 -0
- package/styles/radiotaxiaragon.css +391 -0
- package/styles/spartan.css +391 -0
- package/styles/tagos.css +391 -0
- package/styles/taxisvalencia.css +391 -0
- package/styles/tokens.css +2 -1
- package/tokens/index.js +2 -1
- package/.eslintcache +0 -1
- package/atoms/Link/Link.js +0 -33
- package/atoms/Link/index.js +0 -3
- /package/atoms/{Link → LinkItem}/__snapshots__/Link.stories.js.snap +0 -0
- /package/atoms/{Link → LinkItem}/constants.js +0 -0
@@ -0,0 +1,798 @@
|
|
1
|
+
export const optionsSelect = [
|
2
|
+
{ value: '', label: 'Todos' },
|
3
|
+
{ value: 1, label: 'Activo' },
|
4
|
+
{ value: -1, label: 'Dado de baja' }
|
5
|
+
]
|
6
|
+
|
7
|
+
export const options = {
|
8
|
+
|
9
|
+
bookings: [
|
10
|
+
{
|
11
|
+
id: 346248956,
|
12
|
+
idUser: 146280,
|
13
|
+
idAuthorization: 817457,
|
14
|
+
status: 1,
|
15
|
+
origin: {
|
16
|
+
addressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
|
17
|
+
lat: 40.40068,
|
18
|
+
lon: -3.698589
|
19
|
+
},
|
20
|
+
destination: {
|
21
|
+
addressField: "Estación de Chamartín, Madrid, España",
|
22
|
+
lat: 40.47237,
|
23
|
+
lon: -3.683141
|
24
|
+
},
|
25
|
+
timeBookingStartRealTimestamp: 1653559804000,
|
26
|
+
asap: true,
|
27
|
+
paymentMethod: 50,
|
28
|
+
entryChannel: 15,
|
29
|
+
idSupplierFleet: 57,
|
30
|
+
distanceMeters: 22044,
|
31
|
+
idSupplier: 57,
|
32
|
+
distanceMeters: 10501,
|
33
|
+
durationMinutes: 0,
|
34
|
+
location: "MADRID",
|
35
|
+
passengerName: "Alberto Alvarez Gonzalez",
|
36
|
+
phoneNumberPassenger: "453654654",
|
37
|
+
phoneNumberTaxiDriver: "600000000",
|
38
|
+
idSupplierTax: "11",
|
39
|
+
idSupplierServic: "15828",
|
40
|
+
cancelledWithCharg: false,
|
41
|
+
priceCustomer: "1.5",
|
42
|
+
priceSupplier: "1.5",
|
43
|
+
phoneNumberSupplier: "676800672",
|
44
|
+
idAuthorizationGroup: 335,
|
45
|
+
supplierTaxiDescription: "Seat León | 4",
|
46
|
+
subscriberCode: "6300",
|
47
|
+
userNumber: "93271095",
|
48
|
+
idService: 1946195318,
|
49
|
+
shared: false,
|
50
|
+
timeZone: "Europe/Madrid",
|
51
|
+
notes: "2022-05-26 10:10:03 | 11 | Laura | 150 | Servicio solicitado Portal - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML like Gecko) Chrome/101.0.4951.64 Safari/537.36. WL 4069\n2022-05-26 10:10:03 | 33 | SYSTEM | 114 | El número de vuelo es a.\n2022-05-26 10:10:03 | 33 | SYSTEM | 149 | Servicio enviado a MADRID_TAKSEE_TAXI (57)\n2022-05-26 10:10:12 | 44 | SYSTEM | 110 | Ha ocurrido un error enviando el email de confirmación al usuario\n2022-05-26 10:10:12 | 11 | SYSTEM | 130 | Confirmado por: MADRID_TAKSEE_TAXI (Taxi: 11). Num. servicio: 15828\n2022-05-26 10:10:44 | 33 | SYSTEM | 136 | Finalizado por SPARTAN. Importe 25 EUR establecido por SPARTAN (25.0 + 0.00 peaje)(40.4777 -3.7073)\n2022-05-26 10:10:44 | 33 | SYSTEM | 145 | Recibo enviado KO - 25€ + 0€ (peaje)",
|
52
|
+
tollCustomer: 0.00000,
|
53
|
+
tollSupplier: 0.00000,
|
54
|
+
paymentMethodCustomer: 4,
|
55
|
+
createdBy: 146280,
|
56
|
+
bookingBreakTitle1: "Evento",
|
57
|
+
bookingBreakTitle2: "Descripción actuación",
|
58
|
+
bookingBreakTitle3: "Centro de coste",
|
59
|
+
bookingBreakTitle4: "CIF visita comercial",
|
60
|
+
bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
|
61
|
+
bookingBreakValue2: "a",
|
62
|
+
bookingBreakValue3: "",
|
63
|
+
bookingBreakValue4: "02661135N",
|
64
|
+
authorizationBreakTitle1: "Num.Empleado",
|
65
|
+
authorizationBreakTitle2: "Centro Empleado",
|
66
|
+
authorizationBreakTitle3: "ID Empresa",
|
67
|
+
authorizationBreakTitle7: "Nombre de la empresa",
|
68
|
+
authorizationBreakValue1: "U0193271",
|
69
|
+
authorizationBreakValue2: "5570",
|
70
|
+
authorizationBreakValue3: "95",
|
71
|
+
authorizationBreakValue5: "SC",
|
72
|
+
authorizationBreakValue6: "U0193271095",
|
73
|
+
authorizationBreakValue7: "FACILITIES",
|
74
|
+
iconUrl: "https://resources.callcenter.cab/img/travelprograms/imbric_taxi_satin.png",
|
75
|
+
idCheckbox: 'checkbox1',
|
76
|
+
isSelected: true,
|
77
|
+
travelPrograms: [
|
78
|
+
{
|
79
|
+
"id": 1895,
|
80
|
+
"name": "Carpooling",
|
81
|
+
"description": "Carpooling",
|
82
|
+
"type": "url",
|
83
|
+
"idDispatchEntity": 1,
|
84
|
+
"idAuthorizationGroup": 55,
|
85
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_carpooling_satin.png",
|
86
|
+
"link": "https://carpooling-e9f40.web.app/",
|
87
|
+
"linkType": 0,
|
88
|
+
"dateCreated": 1583760161000,
|
89
|
+
"idPaymentAccount": 495,
|
90
|
+
"termsRequired": []
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"id": 2295,
|
94
|
+
"name": "TP.QOOB",
|
95
|
+
"description": "Aparcamiento de patinetes",
|
96
|
+
"type": "qoob",
|
97
|
+
"idAuthorizationGroup": 55,
|
98
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_patinete_satin.png",
|
99
|
+
"link": "",
|
100
|
+
"dateCreated": 1618470103000,
|
101
|
+
"idPaymentAccount": 495,
|
102
|
+
"termsRequired": []
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"id": 1547,
|
106
|
+
"name": "TP.MOTOSHARING",
|
107
|
+
"description": "Motosharing",
|
108
|
+
"type": "freeFloat",
|
109
|
+
"idDispatchEntity": 1,
|
110
|
+
"idAuthorizationGroup": 55,
|
111
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_motosharing_satin.png",
|
112
|
+
"link": "https://www.masmov.com/401",
|
113
|
+
"dateCreated": 1537891321000,
|
114
|
+
"idPaymentAccount": 495,
|
115
|
+
"termsRequired": []
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"id": 1643,
|
119
|
+
"name": "TP.KILOMETROS",
|
120
|
+
"description": "Kilómetros",
|
121
|
+
"type": "routeTracking",
|
122
|
+
"idDispatchEntity": 6,
|
123
|
+
"idAuthorizationGroup": 292,
|
124
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_hoja_kilometros_satin.png",
|
125
|
+
"link": "",
|
126
|
+
"dateCreated": 1559719376000,
|
127
|
+
"idPaymentAccount": 495,
|
128
|
+
"termsRequired": [
|
129
|
+
4
|
130
|
+
]
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"id": 1582,
|
134
|
+
"name": "TP.PARKIMETER",
|
135
|
+
"description": "Parquímetro",
|
136
|
+
"type": "onstreetExternal",
|
137
|
+
"idAuthorizationGroup": 21,
|
138
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_parquimetro_satin.png",
|
139
|
+
"plannerIconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_planner_parkimetro.png",
|
140
|
+
"link": "",
|
141
|
+
"dateCreated": 1545146050000,
|
142
|
+
"idPaymentAccount": 495,
|
143
|
+
"termsRequired": []
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"id": 1247,
|
147
|
+
"name": "TP.TAXI",
|
148
|
+
"description": "Sólo taxis con 4 preguntas (1 de cada tipo)",
|
149
|
+
"type": "transfer",
|
150
|
+
"idDispatchEntity": 204,
|
151
|
+
"idAuthorizationGroup": 21,
|
152
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_taxi_satin.png",
|
153
|
+
"dateCreated": 1532438269000,
|
154
|
+
"idPaymentAccount": 495,
|
155
|
+
"termsRequired": []
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"id": 1519,
|
159
|
+
"name": "Parking",
|
160
|
+
"description": "TAKSEE - EMPLEADOS - GASTO EMPRESA",
|
161
|
+
"type": "parkingBooking",
|
162
|
+
"idDispatchEntity": 5,
|
163
|
+
"idAuthorizationGroup": 21,
|
164
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_parking_satin.png",
|
165
|
+
"plannerIconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_planner_parking.png",
|
166
|
+
"link": "https://taksee.callcenter.cab/parking",
|
167
|
+
"linkType": 11,
|
168
|
+
"dateCreated": 1532438303000,
|
169
|
+
"idPaymentAccount": 495,
|
170
|
+
"termsRequired": []
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"id": 2879,
|
174
|
+
"name": "MPASS PRUEBA",
|
175
|
+
"description": "MPASS PRUEBA",
|
176
|
+
"type": "publicTransport",
|
177
|
+
"idDispatchEntity": 9,
|
178
|
+
"idAuthorizationGroup": 55,
|
179
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_bus_satin.png",
|
180
|
+
"link": "",
|
181
|
+
"dateCreated": 1660808788000,
|
182
|
+
"idPaymentAccount": 495,
|
183
|
+
"termsRequired": []
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"id": 1712,
|
187
|
+
"name": "Bus",
|
188
|
+
"description": "bus",
|
189
|
+
"type": "publicTransport",
|
190
|
+
"idDispatchEntity": 5,
|
191
|
+
"idAuthorizationGroup": 55,
|
192
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_bus_satin.png",
|
193
|
+
"link": "https://resources.callcenter.cab/terms/notice-publictransportnotavailable.html",
|
194
|
+
"linkType": 1,
|
195
|
+
"dateCreated": 1570635722000,
|
196
|
+
"idPaymentAccount": 495,
|
197
|
+
"termsRequired": []
|
198
|
+
}
|
199
|
+
],
|
200
|
+
},
|
201
|
+
{
|
202
|
+
id: 346248955,
|
203
|
+
idUser: 146280,
|
204
|
+
idAuthorization: 817457,
|
205
|
+
status: 1,
|
206
|
+
origin: {
|
207
|
+
addressField: "Estación de Chamartín, Madrid, España",
|
208
|
+
lat: 40.47237,
|
209
|
+
lon: -3.683141
|
210
|
+
},
|
211
|
+
destination: {
|
212
|
+
addressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
|
213
|
+
lat: 40.40068,
|
214
|
+
lon: -3.698589
|
215
|
+
},
|
216
|
+
timeBookingStartRealTimestamp: 1653559749000,
|
217
|
+
asap: true,
|
218
|
+
paymentMethod: 50,
|
219
|
+
distanceMeters: 22044,
|
220
|
+
entryChannel: 15,
|
221
|
+
idSupplierFleet: 57,
|
222
|
+
idSupplier: 57,
|
223
|
+
distanceMeters: 10501,
|
224
|
+
durationMinutes: 0,
|
225
|
+
location: "MADRID",
|
226
|
+
passengerName: "Zombre Apellido1 Apellido2",
|
227
|
+
phoneNumberPassenger: "453654654",
|
228
|
+
phoneNumberTaxiDriver: "600000000",
|
229
|
+
idSupplierTaxi: "11",
|
230
|
+
idSupplierService: "15827",
|
231
|
+
cancelledWithCharge: false,
|
232
|
+
priceCustomer: "22.50000",
|
233
|
+
priceSupplier: "22.50000",
|
234
|
+
phoneNumberSupplier: "676800672",
|
235
|
+
idAuthorizationGroup: 335,
|
236
|
+
supplierTaxiDescription: "Seat León | 4",
|
237
|
+
subscriberCode: "6300",
|
238
|
+
userNumber: "93271095",
|
239
|
+
idService: 1946195317,
|
240
|
+
shared: false,
|
241
|
+
timeZone: "Europe/Madrid",
|
242
|
+
notes: "2022-05-26 10:09:09 | 11 | Laura | 150 | Servicio solicitado Portal - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML like Gecko) Chrome/101.0.4951.64 Safari/537.36. WL 4069\n2022-05-26 10:09:09 | 33 | SYSTEM | 114 | El número de vuelo es 1.\n2022-05-26 10:09:09 | 33 | SYSTEM | 149 | Servicio enviado a MADRID_TAKSEE_TAXI (57)\n2022-05-26 10:09:18 | 44 | SYSTEM | 110 | Ha ocurrido un error enviando el email de confirmación al usuario\n2022-05-26 10:09:18 | 11 | SYSTEM | 130 | Confirmado por: MADRID_TAKSEE_TAXI (Taxi: 11). Num. servicio: 15827\n2022-05-26 10:09:51 | 33 | SYSTEM | 136 | Finalizado por SPARTAN. Importe 22.5 EUR establecido por SPARTAN (22.5 + 0.00 peaje)(40.4777 -3.7073)\n2022-05-26 10:09:52 | 33 | SYSTEM | 145 | Recibo enviado KO - 22.5€ + 0€ (peaje)",
|
243
|
+
tollCustomer: 0.00000,
|
244
|
+
tollSupplier: 0.00000,
|
245
|
+
paymentMethodCustomer: 4,
|
246
|
+
createdBy: 146280,
|
247
|
+
bookingBreakTitle1: "Evento",
|
248
|
+
bookingBreakTitle2: "Descripción actuación",
|
249
|
+
bookingBreakTitle3: "Centro de coste",
|
250
|
+
bookingBreakTitle4: "CIF visita comercial",
|
251
|
+
bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
|
252
|
+
bookingBreakValue2: "sasasa",
|
253
|
+
bookingBreakValue3: "",
|
254
|
+
bookingBreakValue4: "02661135N",
|
255
|
+
authorizationBreakTitle1: "Num.Empleado",
|
256
|
+
authorizationBreakTitle2: "Centro Empleado",
|
257
|
+
authorizationBreakTitle3: "ID Empresa",
|
258
|
+
authorizationBreakTitle7: "Nombre de la empresa",
|
259
|
+
authorizationBreakValue1: "U0193271",
|
260
|
+
authorizationBreakValue2: "5570",
|
261
|
+
authorizationBreakValue3: "95",
|
262
|
+
authorizationBreakValue5: "SC",
|
263
|
+
authorizationBreakValue6: "U0193271095",
|
264
|
+
authorizationBreakValue7: "FACILITIES",
|
265
|
+
iconUrl: "https://resources.callcenter.cab/img/travelprograms/imbric_taxi_satin.png",
|
266
|
+
idCheckbox: 'checkbox2',
|
267
|
+
isSelected: true,
|
268
|
+
travelPrograms: [
|
269
|
+
{
|
270
|
+
"id": 1895,
|
271
|
+
"name": "Carpooling",
|
272
|
+
"description": "Carpooling",
|
273
|
+
"type": "url",
|
274
|
+
"idDispatchEntity": 1,
|
275
|
+
"idAuthorizationGroup": 55,
|
276
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_carpooling_satin.png",
|
277
|
+
"link": "https://carpooling-e9f40.web.app/",
|
278
|
+
"linkType": 0,
|
279
|
+
"dateCreated": 1583760161000,
|
280
|
+
"idPaymentAccount": 495,
|
281
|
+
"termsRequired": []
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"id": 2295,
|
285
|
+
"name": "TP.QOOB",
|
286
|
+
"description": "Aparcamiento de patinetes",
|
287
|
+
"type": "qoob",
|
288
|
+
"idAuthorizationGroup": 55,
|
289
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_patinete_satin.png",
|
290
|
+
"link": "",
|
291
|
+
"dateCreated": 1618470103000,
|
292
|
+
"idPaymentAccount": 495,
|
293
|
+
"termsRequired": []
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"id": 1547,
|
297
|
+
"name": "TP.MOTOSHARING",
|
298
|
+
"description": "Motosharing",
|
299
|
+
"type": "freeFloat",
|
300
|
+
"idDispatchEntity": 1,
|
301
|
+
"idAuthorizationGroup": 55,
|
302
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_motosharing_satin.png",
|
303
|
+
"link": "https://www.masmov.com/401",
|
304
|
+
"dateCreated": 1537891321000,
|
305
|
+
"idPaymentAccount": 495,
|
306
|
+
"termsRequired": []
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"id": 1643,
|
310
|
+
"name": "TP.KILOMETROS",
|
311
|
+
"description": "Kilómetros",
|
312
|
+
"type": "routeTracking",
|
313
|
+
"idDispatchEntity": 6,
|
314
|
+
"idAuthorizationGroup": 292,
|
315
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_hoja_kilometros_satin.png",
|
316
|
+
"link": "",
|
317
|
+
"dateCreated": 1559719376000,
|
318
|
+
"idPaymentAccount": 495,
|
319
|
+
"termsRequired": [
|
320
|
+
4
|
321
|
+
]
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"id": 1582,
|
325
|
+
"name": "TP.PARKIMETER",
|
326
|
+
"description": "Parquímetro",
|
327
|
+
"type": "onstreetExternal",
|
328
|
+
"idAuthorizationGroup": 21,
|
329
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_parquimetro_satin.png",
|
330
|
+
"plannerIconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_planner_parkimetro.png",
|
331
|
+
"link": "",
|
332
|
+
"dateCreated": 1545146050000,
|
333
|
+
"idPaymentAccount": 495,
|
334
|
+
"termsRequired": []
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"id": 1247,
|
338
|
+
"name": "TP.TAXI",
|
339
|
+
"description": "Sólo taxis con 4 preguntas (1 de cada tipo)",
|
340
|
+
"type": "transfer",
|
341
|
+
"idDispatchEntity": 204,
|
342
|
+
"idAuthorizationGroup": 21,
|
343
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_taxi_satin.png",
|
344
|
+
"dateCreated": 1532438269000,
|
345
|
+
"idPaymentAccount": 495,
|
346
|
+
"termsRequired": []
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"id": 1519,
|
350
|
+
"name": "Parking",
|
351
|
+
"description": "TAKSEE - EMPLEADOS - GASTO EMPRESA",
|
352
|
+
"type": "parkingBooking",
|
353
|
+
"idDispatchEntity": 5,
|
354
|
+
"idAuthorizationGroup": 21,
|
355
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_parking_satin.png",
|
356
|
+
"plannerIconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_planner_parking.png",
|
357
|
+
"link": "https://taksee.callcenter.cab/parking",
|
358
|
+
"linkType": 11,
|
359
|
+
"dateCreated": 1532438303000,
|
360
|
+
"idPaymentAccount": 495,
|
361
|
+
"termsRequired": []
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"id": 2879,
|
365
|
+
"name": "MPASS PRUEBA",
|
366
|
+
"description": "MPASS PRUEBA",
|
367
|
+
"type": "publicTransport",
|
368
|
+
"idDispatchEntity": 9,
|
369
|
+
"idAuthorizationGroup": 55,
|
370
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_bus_satin.png",
|
371
|
+
"link": "",
|
372
|
+
"dateCreated": 1660808788000,
|
373
|
+
"idPaymentAccount": 495,
|
374
|
+
"termsRequired": []
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"id": 1712,
|
378
|
+
"name": "Bus",
|
379
|
+
"description": "bus",
|
380
|
+
"type": "publicTransport",
|
381
|
+
"idDispatchEntity": 5,
|
382
|
+
"idAuthorizationGroup": 55,
|
383
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_bus_satin.png",
|
384
|
+
"link": "https://resources.callcenter.cab/terms/notice-publictransportnotavailable.html",
|
385
|
+
"linkType": 1,
|
386
|
+
"dateCreated": 1570635722000,
|
387
|
+
"idPaymentAccount": 495,
|
388
|
+
"termsRequired": []
|
389
|
+
}
|
390
|
+
],
|
391
|
+
},
|
392
|
+
{
|
393
|
+
id: 346248954,
|
394
|
+
idUser: 146280,
|
395
|
+
idAuthorization: 817457,
|
396
|
+
status: -1,
|
397
|
+
origin: {
|
398
|
+
addressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
|
399
|
+
lat: 40.40068,
|
400
|
+
lon: -3.698589
|
401
|
+
},
|
402
|
+
destination: {
|
403
|
+
addressField: "Estación de Chamartín, Madrid, España",
|
404
|
+
lat: 40.47237,
|
405
|
+
lon: -3.683141
|
406
|
+
},
|
407
|
+
timeBookingStartRealTimestamp: 1653559603000,
|
408
|
+
asap: true,
|
409
|
+
paymentMethod: 50,
|
410
|
+
entryChannel: 15,
|
411
|
+
idSupplierFleet: 57,
|
412
|
+
idSupplier: 57,
|
413
|
+
distanceMeters: 10501,
|
414
|
+
durationMinutes: 0,
|
415
|
+
location: "MADRID",
|
416
|
+
passengerName: "Sandra Vicente Garcia",
|
417
|
+
phoneNumberPassenger: "453654654",
|
418
|
+
phoneNumberTaxiDriver: "600000000",
|
419
|
+
idSupplierTaxi: "11",
|
420
|
+
idSupplierService: "15826",
|
421
|
+
cancelledWithCharge: false,
|
422
|
+
distanceMeters: 22044,
|
423
|
+
priceCustomer: "1225.32000",
|
424
|
+
priceSupplier: "1225.32000",
|
425
|
+
phoneNumberSupplier: "676800672",
|
426
|
+
idAuthorizationGroup: 335,
|
427
|
+
supplierTaxiDescription: "Seat León | 4",
|
428
|
+
subscriberCode: "6300",
|
429
|
+
userNumber: "93271095",
|
430
|
+
idService: 1946195316,
|
431
|
+
shared: false,
|
432
|
+
timeZone: "Europe/Madrid",
|
433
|
+
notes: "2022-05-26 10:06:42 | 11 | Laura | 150 | Servicio solicitado Portal - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML like Gecko) Chrome/101.0.4951.64 Safari/537.36. WL 4069\n2022-05-26 10:06:42 | 33 | SYSTEM | 114 | El número de vuelo es 1.\n2022-05-26 10:06:42 | 33 | SYSTEM | 149 | Servicio enviado a MADRID_TAKSEE_TAXI (57)\n2022-05-26 10:06:51 | 44 | SYSTEM | 110 | Ha ocurrido un error enviando el email de confirmación al usuario\n2022-05-26 10:06:51 | 11 | SYSTEM | 130 | Confirmado por: MADRID_TAKSEE_TAXI (Taxi: 11). Num. servicio: 15826\n2022-05-26 10:08:15 | 33 | SYSTEM | 136 | Finalizado por SPARTAN. Importe 23 EUR establecido por SPARTAN (23.0 + 0.00 peaje)(40.4777 -3.7073)\n2022-05-26 10:08:16 | 33 | SYSTEM | 145 | Recibo enviado KO - 23€ + 0€ (peaje)",
|
434
|
+
tollCustomer: 0.00000,
|
435
|
+
tollSupplier: 0.00000,
|
436
|
+
paymentMethodCustomer: 4,
|
437
|
+
createdBy: 146280,
|
438
|
+
bookingBreakTitle1: "Evento",
|
439
|
+
bookingBreakTitle2: "Descripción actuación",
|
440
|
+
bookingBreakTitle3: "Centro de coste",
|
441
|
+
bookingBreakTitle4: "CIF visita comercial",
|
442
|
+
bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
|
443
|
+
bookingBreakValue2: "sasasa",
|
444
|
+
bookingBreakValue3: "",
|
445
|
+
bookingBreakValue4: "02661135N",
|
446
|
+
authorizationBreakTitle1: "Num.Empleado",
|
447
|
+
authorizationBreakTitle2: "Centro Empleado",
|
448
|
+
authorizationBreakTitle3: "ID Empresa",
|
449
|
+
authorizationBreakTitle7: "Nombre de la empresa",
|
450
|
+
authorizationBreakValue1: "U0193271",
|
451
|
+
authorizationBreakValue2: "5570",
|
452
|
+
authorizationBreakValue3: "95",
|
453
|
+
authorizationBreakValue5: "SC",
|
454
|
+
authorizationBreakValue6: "U0193271095",
|
455
|
+
authorizationBreakValue7: "FACILITIES",
|
456
|
+
iconUrl: "https://resources.callcenter.cab/img/travelprograms/imbric_taxi_satin.png",
|
457
|
+
idCheckbox: 'checkbox3',
|
458
|
+
isSelected: true,
|
459
|
+
travelPrograms: [
|
460
|
+
{
|
461
|
+
"id": 1895,
|
462
|
+
"name": "Carpooling",
|
463
|
+
"description": "Carpooling",
|
464
|
+
"type": "url",
|
465
|
+
"idDispatchEntity": 1,
|
466
|
+
"idAuthorizationGroup": 55,
|
467
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_carpooling_satin.png",
|
468
|
+
"link": "https://carpooling-e9f40.web.app/",
|
469
|
+
"linkType": 0,
|
470
|
+
"dateCreated": 1583760161000,
|
471
|
+
"idPaymentAccount": 495,
|
472
|
+
"termsRequired": []
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"id": 2295,
|
476
|
+
"name": "TP.QOOB",
|
477
|
+
"description": "Aparcamiento de patinetes",
|
478
|
+
"type": "qoob",
|
479
|
+
"idAuthorizationGroup": 55,
|
480
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_patinete_satin.png",
|
481
|
+
"link": "",
|
482
|
+
"dateCreated": 1618470103000,
|
483
|
+
"idPaymentAccount": 495,
|
484
|
+
"termsRequired": []
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"id": 1547,
|
488
|
+
"name": "TP.MOTOSHARING",
|
489
|
+
"description": "Motosharing",
|
490
|
+
"type": "freeFloat",
|
491
|
+
"idDispatchEntity": 1,
|
492
|
+
"idAuthorizationGroup": 55,
|
493
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_motosharing_satin.png",
|
494
|
+
"link": "https://www.masmov.com/401",
|
495
|
+
"dateCreated": 1537891321000,
|
496
|
+
"idPaymentAccount": 495,
|
497
|
+
"termsRequired": []
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"id": 1643,
|
501
|
+
"name": "TP.KILOMETROS",
|
502
|
+
"description": "Kilómetros",
|
503
|
+
"type": "routeTracking",
|
504
|
+
"idDispatchEntity": 6,
|
505
|
+
"idAuthorizationGroup": 292,
|
506
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_hoja_kilometros_satin.png",
|
507
|
+
"link": "",
|
508
|
+
"dateCreated": 1559719376000,
|
509
|
+
"idPaymentAccount": 495,
|
510
|
+
"termsRequired": [
|
511
|
+
4
|
512
|
+
]
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"id": 1582,
|
516
|
+
"name": "TP.PARKIMETER",
|
517
|
+
"description": "Parquímetro",
|
518
|
+
"type": "onstreetExternal",
|
519
|
+
"idAuthorizationGroup": 21,
|
520
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_parquimetro_satin.png",
|
521
|
+
"plannerIconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_planner_parkimetro.png",
|
522
|
+
"link": "",
|
523
|
+
"dateCreated": 1545146050000,
|
524
|
+
"idPaymentAccount": 495,
|
525
|
+
"termsRequired": []
|
526
|
+
},
|
527
|
+
{
|
528
|
+
"id": 1247,
|
529
|
+
"name": "TP.TAXI",
|
530
|
+
"description": "Sólo taxis con 4 preguntas (1 de cada tipo)",
|
531
|
+
"type": "transfer",
|
532
|
+
"idDispatchEntity": 204,
|
533
|
+
"idAuthorizationGroup": 21,
|
534
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_taxi_satin.png",
|
535
|
+
"dateCreated": 1532438269000,
|
536
|
+
"idPaymentAccount": 495,
|
537
|
+
"termsRequired": []
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"id": 1519,
|
541
|
+
"name": "Parking",
|
542
|
+
"description": "TAKSEE - EMPLEADOS - GASTO EMPRESA",
|
543
|
+
"type": "parkingBooking",
|
544
|
+
"idDispatchEntity": 5,
|
545
|
+
"idAuthorizationGroup": 21,
|
546
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_parking_satin.png",
|
547
|
+
"plannerIconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_planner_parking.png",
|
548
|
+
"link": "https://taksee.callcenter.cab/parking",
|
549
|
+
"linkType": 11,
|
550
|
+
"dateCreated": 1532438303000,
|
551
|
+
"idPaymentAccount": 495,
|
552
|
+
"termsRequired": []
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"id": 2879,
|
556
|
+
"name": "MPASS PRUEBA",
|
557
|
+
"description": "MPASS PRUEBA",
|
558
|
+
"type": "publicTransport",
|
559
|
+
"idDispatchEntity": 9,
|
560
|
+
"idAuthorizationGroup": 55,
|
561
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_bus_satin.png",
|
562
|
+
"link": "",
|
563
|
+
"dateCreated": 1660808788000,
|
564
|
+
"idPaymentAccount": 495,
|
565
|
+
"termsRequired": []
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"id": 1712,
|
569
|
+
"name": "Bus",
|
570
|
+
"description": "bus",
|
571
|
+
"type": "publicTransport",
|
572
|
+
"idDispatchEntity": 5,
|
573
|
+
"idAuthorizationGroup": 55,
|
574
|
+
"iconUrl": "https://resources.callcenter.cab/img/travelprograms/imbric_bus_satin.png",
|
575
|
+
"link": "https://resources.callcenter.cab/terms/notice-publictransportnotavailable.html",
|
576
|
+
"linkType": 1,
|
577
|
+
"dateCreated": 1570635722000,
|
578
|
+
"idPaymentAccount": 495,
|
579
|
+
"termsRequired": []
|
580
|
+
}
|
581
|
+
],
|
582
|
+
}
|
583
|
+
],
|
584
|
+
|
585
|
+
columns: [
|
586
|
+
{
|
587
|
+
activeView: true,
|
588
|
+
sortable: false,
|
589
|
+
accessor: 'iconUrl',
|
590
|
+
subAccessor: '',
|
591
|
+
title: 'Icons',
|
592
|
+
viewIsFilter: false,
|
593
|
+
typeFilter: '',
|
594
|
+
subTypeFilter: false,
|
595
|
+
idInput: '',
|
596
|
+
nameInput: '',
|
597
|
+
placeholder: '',
|
598
|
+
isPicture: true,
|
599
|
+
},
|
600
|
+
{
|
601
|
+
activeView: true,
|
602
|
+
sortable: true,
|
603
|
+
accessor: 'timeBookingStartRealTimestamp',
|
604
|
+
subAccessor: '',
|
605
|
+
title: 'Fecha',
|
606
|
+
viewIsFilter: true,
|
607
|
+
typeFilter: 'date',
|
608
|
+
subTypeFilter: true,
|
609
|
+
idInput: 'fecha',
|
610
|
+
nameInput: 'Fecha',
|
611
|
+
placeholder: 'Fecha'
|
612
|
+
},
|
613
|
+
{
|
614
|
+
activeView: true,
|
615
|
+
sortable: true,
|
616
|
+
accessor: 'passengerName',
|
617
|
+
subAccessor: '',
|
618
|
+
title: 'Pasajero',
|
619
|
+
viewIsFilter: true,
|
620
|
+
typeFilter: 'text',
|
621
|
+
subTypeFilter: false,
|
622
|
+
idInput: 'pasajero',
|
623
|
+
nameInput: 'Pasajero',
|
624
|
+
placeholder: 'Pasajero'
|
625
|
+
},
|
626
|
+
{
|
627
|
+
activeView: true,
|
628
|
+
sortable: true,
|
629
|
+
accessor: 'origin',
|
630
|
+
subAccessor: 'addressField',
|
631
|
+
title: 'Recogida',
|
632
|
+
viewIsFilter: true,
|
633
|
+
typeFilter: 'text',
|
634
|
+
subTypeFilter: false,
|
635
|
+
idInput: 'recogida',
|
636
|
+
nameInput: 'Recogida',
|
637
|
+
placeholder: 'Recogida'
|
638
|
+
},
|
639
|
+
{
|
640
|
+
activeView: true,
|
641
|
+
sortable: true,
|
642
|
+
accessor: 'destination',
|
643
|
+
subAccessor: 'addressField',
|
644
|
+
title: 'Destino',
|
645
|
+
viewIsFilter: true,
|
646
|
+
typeFilter: 'text',
|
647
|
+
subTypeFilter: false,
|
648
|
+
idInput: 'destino',
|
649
|
+
nameInput: 'Destino',
|
650
|
+
placeholder: 'Destino'
|
651
|
+
},
|
652
|
+
{
|
653
|
+
accessor: 'priceCustomer',
|
654
|
+
subAccessor: '',
|
655
|
+
activeView: true,
|
656
|
+
idInput: 'priceCustomer',
|
657
|
+
nameInput: 'Precio',
|
658
|
+
placeholder: 'Precio',
|
659
|
+
sortable: true,
|
660
|
+
subTypeFilter: true,
|
661
|
+
title: 'Precio',
|
662
|
+
typeFilter: 'text',
|
663
|
+
viewIsFilter: true,
|
664
|
+
characterExtra: '€',
|
665
|
+
},
|
666
|
+
{
|
667
|
+
accessor: 'distanceMeters',
|
668
|
+
subAccessor: '',
|
669
|
+
activeView: true,
|
670
|
+
idInput: 'distanceMeters',
|
671
|
+
nameInput: 'distanceMeters',
|
672
|
+
placeholder: 'Distancia (km)',
|
673
|
+
sortable: true,
|
674
|
+
subTypeFilter: true,
|
675
|
+
title: 'Distancia (km)',
|
676
|
+
typeFilter: 'number',
|
677
|
+
viewIsFilter: true,
|
678
|
+
characterExtra: 'km',
|
679
|
+
},
|
680
|
+
{
|
681
|
+
accessor: 'status',
|
682
|
+
subAccessor: '',
|
683
|
+
activeView: true,
|
684
|
+
idInput: 'status',
|
685
|
+
nameInput: 'Estado',
|
686
|
+
placeholder: 'Estado',
|
687
|
+
sortable: true,
|
688
|
+
subTypeFilter: false,
|
689
|
+
title: 'Estado',
|
690
|
+
typeFilter: 'select',
|
691
|
+
optionsSelect: optionsSelect,
|
692
|
+
viewIsFilter: true,
|
693
|
+
},
|
694
|
+
{
|
695
|
+
activeView: false,
|
696
|
+
sortable: true,
|
697
|
+
accessor: 'id',
|
698
|
+
subAccessor: '',
|
699
|
+
title: 'ID',
|
700
|
+
viewIsFilter: true,
|
701
|
+
typeFilter: 'number',
|
702
|
+
subTypeFilter: false,
|
703
|
+
idInput: 'id',
|
704
|
+
nameInput: 'id',
|
705
|
+
placeholder: 'id'
|
706
|
+
},
|
707
|
+
{
|
708
|
+
activeView: false,
|
709
|
+
sortable: true,
|
710
|
+
accessor: 'idService',
|
711
|
+
subAccessor: '',
|
712
|
+
title: 'ID Reserva',
|
713
|
+
viewIsFilter: true,
|
714
|
+
typeFilter: 'number',
|
715
|
+
subTypeFilter: false,
|
716
|
+
idInput: 'IDReserva',
|
717
|
+
nameInput: 'ID Reserva',
|
718
|
+
placeholder: 'ID Reserva'
|
719
|
+
},
|
720
|
+
{
|
721
|
+
activeView: false,
|
722
|
+
sortable: true,
|
723
|
+
accessor: 'idSupplier',
|
724
|
+
subAccessor: '',
|
725
|
+
title: 'ID Proveedor',
|
726
|
+
viewIsFilter: true,
|
727
|
+
typeFilter: 'number',
|
728
|
+
subTypeFilter: false,
|
729
|
+
idInput: 'IDProveedor',
|
730
|
+
nameInput: 'ID Proveedor',
|
731
|
+
placeholder: 'ID Proveedor'
|
732
|
+
},
|
733
|
+
{
|
734
|
+
activeView: true,
|
735
|
+
sortable: false,
|
736
|
+
accessor: 'travelPrograms',
|
737
|
+
subAccessor: 'name',
|
738
|
+
title: 'travelPrograms',
|
739
|
+
viewIsFilter: false,
|
740
|
+
typeFilter: '',
|
741
|
+
subTypeFilter: false,
|
742
|
+
idInput: '',
|
743
|
+
nameInput: '',
|
744
|
+
placeholder: '',
|
745
|
+
isArrayObject: true
|
746
|
+
},
|
747
|
+
{
|
748
|
+
activeView: true,
|
749
|
+
sortable: false,
|
750
|
+
accessor: 'idCheckbox',
|
751
|
+
subAccessor: '',
|
752
|
+
title: 'IdCheckbox',
|
753
|
+
viewIsFilter: false,
|
754
|
+
typeFilter: '',
|
755
|
+
subTypeFilter: false,
|
756
|
+
idInput: '',
|
757
|
+
nameInput: '',
|
758
|
+
placeholder: '',
|
759
|
+
isCheckbox: true,
|
760
|
+
},
|
761
|
+
// {
|
762
|
+
// accessor: 'idCheckbox',
|
763
|
+
// subAccessor: 'idCheckbox',
|
764
|
+
// activeView: true,
|
765
|
+
// idInput: 'idCheckbox',
|
766
|
+
// nameInput: 'idCheckboxs',
|
767
|
+
// placeholder: '',
|
768
|
+
// sortable: false,
|
769
|
+
// subTypeFilter: false,
|
770
|
+
// title: '',
|
771
|
+
// typeFilter: 'text',
|
772
|
+
// viewIsFilter: false,
|
773
|
+
// isCheckbox: true,
|
774
|
+
// },
|
775
|
+
{
|
776
|
+
accessor: 'action',
|
777
|
+
subAccessor: 'action',
|
778
|
+
activeView: true,
|
779
|
+
idInput: 'action',
|
780
|
+
nameInput: 'Acciones',
|
781
|
+
placeholder: 'Acciones',
|
782
|
+
sortable: false,
|
783
|
+
subTypeFilter: false,
|
784
|
+
title: '',
|
785
|
+
typeFilter: 'text',
|
786
|
+
viewIsFilter: false,
|
787
|
+
viewUserView: true,
|
788
|
+
viewListInvoice: true,
|
789
|
+
viewListXLS: true,
|
790
|
+
viewListCSV: true,
|
791
|
+
viewListPDF: true,
|
792
|
+
viewEdit: true,
|
793
|
+
viewTrash: true,
|
794
|
+
viewEmailSend: true,
|
795
|
+
},
|
796
|
+
],
|
797
|
+
|
798
|
+
}
|