imbric-theme 0.3.4 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/atoms/Checkbox/Checkbox.js +26 -9
  2. package/atoms/Checkbox/Checkbox.module.css +51 -0
  3. package/atoms/Checkbox/Checkbox.stories.js +4 -2
  4. package/atoms/Icon/constants.js +1 -1
  5. package/atoms/Input/Input.js +1 -0
  6. package/atoms/LinkItem/LinkItem.js +36 -0
  7. package/atoms/{Link/Link.module.css → LinkItem/LinkItem.module.css} +6 -1
  8. package/atoms/{Link/Link.stories.js → LinkItem/LinkItem.stories.js} +5 -5
  9. package/atoms/{Link → LinkItem}/__snapshots__/Link.stories.js.snap +0 -0
  10. package/atoms/{Link → LinkItem}/constants.js +0 -0
  11. package/atoms/LinkItem/index.js +3 -0
  12. package/atoms/Modal/Modal.js +9 -1
  13. package/atoms/Modal/Modal.module.css +6 -6
  14. package/hook/useAddColumn.js +40 -0
  15. package/hook/useStateDate.js +25 -0
  16. package/hook/useTable.js +45 -0
  17. package/index.js +4 -2
  18. package/layout/DynamicTable/DynamicTable.js +87 -122
  19. package/layout/DynamicTable/DynamicTable.module.css +2 -1
  20. package/layout/DynamicTable/DynamicTable.stories.js +49 -2
  21. package/layout/DynamicTable/constants.js +50 -567
  22. package/layout/Navbar/Navbar.js +1 -1
  23. package/molecules/ColumnTable/ColumnTable.js +78 -73
  24. package/molecules/ColumnTable/ColumnTable.module.css +13 -0
  25. package/molecules/ColumnTable/ColumnTable.stories.js +4 -7
  26. package/molecules/ColumnTable/constants.js +111 -1
  27. package/molecules/DatePicker/DatePicker.js +27 -14
  28. package/molecules/DatePicker/DatePicker.module.css +1 -1
  29. package/molecules/DynamicSelect/DynamicSelect.js +9 -0
  30. package/molecules/FooterTable/FooterTable.js +47 -0
  31. package/molecules/FooterTable/FooterTable.module.css +37 -0
  32. package/molecules/FooterTable/FooterTable.stories.js +23 -0
  33. package/molecules/FooterTable/constants.js +1 -0
  34. package/molecules/FooterTable/index.js +3 -0
  35. package/molecules/RowTable/RowTable.js +70 -4
  36. package/molecules/RowTable/RowTable.module.css +21 -2
  37. package/molecules/RowTable/RowTable.stories.js +7 -4
  38. package/molecules/RowTable/constants.js +318 -1
  39. package/package.json +1 -1
  40. package/atoms/Icon/file-download-svgrepo-com.svg +0 -13
  41. package/atoms/Link/Link.js +0 -33
  42. package/atoms/Link/index.js +0 -3
@@ -6,8 +6,16 @@ export const options = {
6
6
  idUser: 146280,
7
7
  idAuthorization: 817457,
8
8
  status: 30,
9
- originAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
10
- destinationAddressField: "Estación de Chamartín, Madrid, España",
9
+ origin: {
10
+ addressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
11
+ lat: 40.40068,
12
+ lon: -3.698589
13
+ },
14
+ destination: {
15
+ addressField: "Estación de Chamartín, Madrid, España",
16
+ lat: 40.47237,
17
+ lon: -3.683141
18
+ },
11
19
  timeBookingStartRealTimestamp: 1653559804000,
12
20
  asap: true,
13
21
  paymentMethod: 50,
@@ -62,8 +70,16 @@ export const options = {
62
70
  idUser: 146280,
63
71
  idAuthorization: 817457,
64
72
  status: 30,
65
- originAddressField: "Estación de Chamartín, Madrid, España",
66
- destinationAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
73
+ origin: {
74
+ addressField: "Estación de Chamartín, Madrid, España",
75
+ lat: 40.47237,
76
+ lon: -3.683141
77
+ },
78
+ destination: {
79
+ addressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
80
+ lat: 40.40068,
81
+ lon: -3.698589
82
+ },
67
83
  timeBookingStartRealTimestamp: 1653559749000,
68
84
  asap: true,
69
85
  paymentMethod: 50,
@@ -118,512 +134,16 @@ export const options = {
118
134
  idUser: 146280,
119
135
  idAuthorization: 817457,
120
136
  status: 30,
121
- originAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
122
- destinationAddressField: "Estación de Chamartín, Madrid, España",
123
- timeBookingStartRealTimestamp: 1653559603000,
124
- asap: true,
125
- paymentMethod: 50,
126
- entryChannel: 15,
127
- idSupplierFleet: 57,
128
- idSupplier: 57,
129
- distanceMeters: 10501,
130
- durationMinutes: 0,
131
- location: "MADRID",
132
- passengerName: "Sandra Vicente Garcia",
133
- phoneNumberPassenger: "453654654",
134
- phoneNumberTaxiDriver: "600000000",
135
- idSupplierTaxi: "11",
136
- idSupplierService: "15826",
137
- cancelledWithCharge: false,
138
- priceCustomer: "23.00000",
139
- priceSupplier: "23.00000",
140
- phoneNumberSupplier: "676800672",
141
- idAuthorizationGroup: 335,
142
- supplierTaxiDescription: "Seat León | 4",
143
- subscriberCode: "6300",
144
- userNumber: "93271095",
145
- idService: 1946195316,
146
- shared: false,
147
- timeZone: "Europe/Madrid",
148
- 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)",
149
- tollCustomer: 0.00000,
150
- tollSupplier: 0.00000,
151
- paymentMethodCustomer: 4,
152
- createdBy: 146280,
153
- bookingBreakTitle1: "Evento",
154
- bookingBreakTitle2: "Descripción actuación",
155
- bookingBreakTitle3: "Centro de coste",
156
- bookingBreakTitle4: "CIF visita comercial",
157
- bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
158
- bookingBreakValue2: "sasasa",
159
- bookingBreakValue3: "",
160
- bookingBreakValue4: "02661135N",
161
- authorizationBreakTitle1: "Num.Empleado",
162
- authorizationBreakTitle2: "Centro Empleado",
163
- authorizationBreakTitle3: "ID Empresa",
164
- authorizationBreakTitle7: "Nombre de la empresa",
165
- authorizationBreakValue1: "U0193271",
166
- authorizationBreakValue2: "5570",
167
- authorizationBreakValue3: "95",
168
- authorizationBreakValue5: "SC",
169
- authorizationBreakValue6: "U0193271095",
170
- authorizationBreakValue7: "FACILITIES"
171
- },
172
- {
173
- id: 346248956,
174
- idUser: 146280,
175
- idAuthorization: 817457,
176
- status: 30,
177
- originAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
178
- destinationAddressField: "Estación de Chamartín, Madrid, España",
179
- timeBookingStartRealTimestamp: 1653559804000,
180
- asap: true,
181
- paymentMethod: 50,
182
- entryChannel: 15,
183
- idSupplierFleet: 57,
184
- idSupplier: 57,
185
- distanceMeters: 10501,
186
- durationMinutes: 0,
187
- location: "MADRID",
188
- passengerName: "Alberto Alvarez Gonzalez",
189
- phoneNumberPassenger: "453654654",
190
- phoneNumberTaxiDriver: "600000000",
191
- idSupplierTax: "11",
192
- idSupplierServic: "15828",
193
- cancelledWithCharg: false,
194
- priceCustomer: "25.00000",
195
- priceSupplier: "25.00000",
196
- phoneNumberSupplier: "676800672",
197
- idAuthorizationGroup: 335,
198
- supplierTaxiDescription: "Seat León | 4",
199
- subscriberCode: "6300",
200
- userNumber: "93271095",
201
- idService: 1946195318,
202
- shared: false,
203
- timeZone: "Europe/Madrid",
204
- 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)",
205
- tollCustomer: 0.00000,
206
- tollSupplier: 0.00000,
207
- paymentMethodCustomer: 4,
208
- createdBy: 146280,
209
- bookingBreakTitle1: "Evento",
210
- bookingBreakTitle2: "Descripción actuación",
211
- bookingBreakTitle3: "Centro de coste",
212
- bookingBreakTitle4: "CIF visita comercial",
213
- bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
214
- bookingBreakValue2: "a",
215
- bookingBreakValue3: "",
216
- bookingBreakValue4: "02661135N",
217
- authorizationBreakTitle1: "Num.Empleado",
218
- authorizationBreakTitle2: "Centro Empleado",
219
- authorizationBreakTitle3: "ID Empresa",
220
- authorizationBreakTitle7: "Nombre de la empresa",
221
- authorizationBreakValue1: "U0193271",
222
- authorizationBreakValue2: "5570",
223
- authorizationBreakValue3: "95",
224
- authorizationBreakValue5: "SC",
225
- authorizationBreakValue6: "U0193271095",
226
- authorizationBreakValue7: "FACILITIES"
227
- },
228
- {
229
- id: 346248955,
230
- idUser: 146280,
231
- idAuthorization: 817457,
232
- status: 30,
233
- originAddressField: "Estación de Chamartín, Madrid, España",
234
- destinationAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
235
- timeBookingStartRealTimestamp: 1653559749000,
236
- asap: true,
237
- paymentMethod: 50,
238
- entryChannel: 15,
239
- idSupplierFleet: 57,
240
- idSupplier: 57,
241
- distanceMeters: 10501,
242
- durationMinutes: 0,
243
- location: "MADRID",
244
- passengerName: "Zombre Apellido1 Apellido2",
245
- phoneNumberPassenger: "453654654",
246
- phoneNumberTaxiDriver: "600000000",
247
- idSupplierTaxi: "11",
248
- idSupplierService: "15827",
249
- cancelledWithCharge: false,
250
- priceCustomer: "22.50000",
251
- priceSupplier: "22.50000",
252
- phoneNumberSupplier: "676800672",
253
- idAuthorizationGroup: 335,
254
- supplierTaxiDescription: "Seat León | 4",
255
- subscriberCode: "6300",
256
- userNumber: "93271095",
257
- idService: 1946195317,
258
- shared: false,
259
- timeZone: "Europe/Madrid",
260
- 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)",
261
- tollCustomer: 0.00000,
262
- tollSupplier: 0.00000,
263
- paymentMethodCustomer: 4,
264
- createdBy: 146280,
265
- bookingBreakTitle1: "Evento",
266
- bookingBreakTitle2: "Descripción actuación",
267
- bookingBreakTitle3: "Centro de coste",
268
- bookingBreakTitle4: "CIF visita comercial",
269
- bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
270
- bookingBreakValue2: "sasasa",
271
- bookingBreakValue3: "",
272
- bookingBreakValue4: "02661135N",
273
- authorizationBreakTitle1: "Num.Empleado",
274
- authorizationBreakTitle2: "Centro Empleado",
275
- authorizationBreakTitle3: "ID Empresa",
276
- authorizationBreakTitle7: "Nombre de la empresa",
277
- authorizationBreakValue1: "U0193271",
278
- authorizationBreakValue2: "5570",
279
- authorizationBreakValue3: "95",
280
- authorizationBreakValue5: "SC",
281
- authorizationBreakValue6: "U0193271095",
282
- authorizationBreakValue7: "FACILITIES"
283
- },
284
- {
285
- id: 346248954,
286
- idUser: 146280,
287
- idAuthorization: 817457,
288
- status: 30,
289
- originAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
290
- destinationAddressField: "Estación de Chamartín, Madrid, España",
291
- timeBookingStartRealTimestamp: 1653559603000,
292
- asap: true,
293
- paymentMethod: 50,
294
- entryChannel: 15,
295
- idSupplierFleet: 57,
296
- idSupplier: 57,
297
- distanceMeters: 10501,
298
- durationMinutes: 0,
299
- location: "MADRID",
300
- passengerName: "Sandra Vicente Garcia",
301
- phoneNumberPassenger: "453654654",
302
- phoneNumberTaxiDriver: "600000000",
303
- idSupplierTaxi: "11",
304
- idSupplierService: "15826",
305
- cancelledWithCharge: false,
306
- priceCustomer: "23.00000",
307
- priceSupplier: "23.00000",
308
- phoneNumberSupplier: "676800672",
309
- idAuthorizationGroup: 335,
310
- supplierTaxiDescription: "Seat León | 4",
311
- subscriberCode: "6300",
312
- userNumber: "93271095",
313
- idService: 1946195316,
314
- shared: false,
315
- timeZone: "Europe/Madrid",
316
- 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)",
317
- tollCustomer: 0.00000,
318
- tollSupplier: 0.00000,
319
- paymentMethodCustomer: 4,
320
- createdBy: 146280,
321
- bookingBreakTitle1: "Evento",
322
- bookingBreakTitle2: "Descripción actuación",
323
- bookingBreakTitle3: "Centro de coste",
324
- bookingBreakTitle4: "CIF visita comercial",
325
- bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
326
- bookingBreakValue2: "sasasa",
327
- bookingBreakValue3: "",
328
- bookingBreakValue4: "02661135N",
329
- authorizationBreakTitle1: "Num.Empleado",
330
- authorizationBreakTitle2: "Centro Empleado",
331
- authorizationBreakTitle3: "ID Empresa",
332
- authorizationBreakTitle7: "Nombre de la empresa",
333
- authorizationBreakValue1: "U0193271",
334
- authorizationBreakValue2: "5570",
335
- authorizationBreakValue3: "95",
336
- authorizationBreakValue5: "SC",
337
- authorizationBreakValue6: "U0193271095",
338
- authorizationBreakValue7: "FACILITIES"
339
- },
340
- {
341
- id: 346248956,
342
- idUser: 146280,
343
- idAuthorization: 817457,
344
- status: 30,
345
- originAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
346
- destinationAddressField: "Estación de Chamartín, Madrid, España",
347
- timeBookingStartRealTimestamp: 1653559804000,
348
- asap: true,
349
- paymentMethod: 50,
350
- entryChannel: 15,
351
- idSupplierFleet: 57,
352
- idSupplier: 57,
353
- distanceMeters: 10501,
354
- durationMinutes: 0,
355
- location: "MADRID",
356
- passengerName: "Alberto Alvarez Gonzalez",
357
- phoneNumberPassenger: "453654654",
358
- phoneNumberTaxiDriver: "600000000",
359
- idSupplierTax: "11",
360
- idSupplierServic: "15828",
361
- cancelledWithCharg: false,
362
- priceCustomer: "25.00000",
363
- priceSupplier: "25.00000",
364
- phoneNumberSupplier: "676800672",
365
- idAuthorizationGroup: 335,
366
- supplierTaxiDescription: "Seat León | 4",
367
- subscriberCode: "6300",
368
- userNumber: "93271095",
369
- idService: 1946195318,
370
- shared: false,
371
- timeZone: "Europe/Madrid",
372
- 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)",
373
- tollCustomer: 0.00000,
374
- tollSupplier: 0.00000,
375
- paymentMethodCustomer: 4,
376
- createdBy: 146280,
377
- bookingBreakTitle1: "Evento",
378
- bookingBreakTitle2: "Descripción actuación",
379
- bookingBreakTitle3: "Centro de coste",
380
- bookingBreakTitle4: "CIF visita comercial",
381
- bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
382
- bookingBreakValue2: "a",
383
- bookingBreakValue3: "",
384
- bookingBreakValue4: "02661135N",
385
- authorizationBreakTitle1: "Num.Empleado",
386
- authorizationBreakTitle2: "Centro Empleado",
387
- authorizationBreakTitle3: "ID Empresa",
388
- authorizationBreakTitle7: "Nombre de la empresa",
389
- authorizationBreakValue1: "U0193271",
390
- authorizationBreakValue2: "5570",
391
- authorizationBreakValue3: "95",
392
- authorizationBreakValue5: "SC",
393
- authorizationBreakValue6: "U0193271095",
394
- authorizationBreakValue7: "FACILITIES"
395
- },
396
- {
397
- id: 346248955,
398
- idUser: 146280,
399
- idAuthorization: 817457,
400
- status: 30,
401
- originAddressField: "Estación de Chamartín, Madrid, España",
402
- destinationAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
403
- timeBookingStartRealTimestamp: 1653559749000,
404
- asap: true,
405
- paymentMethod: 50,
406
- entryChannel: 15,
407
- idSupplierFleet: 57,
408
- idSupplier: 57,
409
- distanceMeters: 10501,
410
- durationMinutes: 0,
411
- location: "MADRID",
412
- passengerName: "Zombre Apellido1 Apellido2",
413
- phoneNumberPassenger: "453654654",
414
- phoneNumberTaxiDriver: "600000000",
415
- idSupplierTaxi: "11",
416
- idSupplierService: "15827",
417
- cancelledWithCharge: false,
418
- priceCustomer: "22.50000",
419
- priceSupplier: "22.50000",
420
- phoneNumberSupplier: "676800672",
421
- idAuthorizationGroup: 335,
422
- supplierTaxiDescription: "Seat León | 4",
423
- subscriberCode: "6300",
424
- userNumber: "93271095",
425
- idService: 1946195317,
426
- shared: false,
427
- timeZone: "Europe/Madrid",
428
- 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)",
429
- tollCustomer: 0.00000,
430
- tollSupplier: 0.00000,
431
- paymentMethodCustomer: 4,
432
- createdBy: 146280,
433
- bookingBreakTitle1: "Evento",
434
- bookingBreakTitle2: "Descripción actuación",
435
- bookingBreakTitle3: "Centro de coste",
436
- bookingBreakTitle4: "CIF visita comercial",
437
- bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
438
- bookingBreakValue2: "sasasa",
439
- bookingBreakValue3: "",
440
- bookingBreakValue4: "02661135N",
441
- authorizationBreakTitle1: "Num.Empleado",
442
- authorizationBreakTitle2: "Centro Empleado",
443
- authorizationBreakTitle3: "ID Empresa",
444
- authorizationBreakTitle7: "Nombre de la empresa",
445
- authorizationBreakValue1: "U0193271",
446
- authorizationBreakValue2: "5570",
447
- authorizationBreakValue3: "95",
448
- authorizationBreakValue5: "SC",
449
- authorizationBreakValue6: "U0193271095",
450
- authorizationBreakValue7: "FACILITIES"
451
- },
452
- {
453
- id: 346248954,
454
- idUser: 146280,
455
- idAuthorization: 817457,
456
- status: 30,
457
- originAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
458
- destinationAddressField: "Estación de Chamartín, Madrid, España",
459
- timeBookingStartRealTimestamp: 1653559603000,
460
- asap: true,
461
- paymentMethod: 50,
462
- entryChannel: 15,
463
- idSupplierFleet: 57,
464
- idSupplier: 57,
465
- distanceMeters: 10501,
466
- durationMinutes: 0,
467
- location: "MADRID",
468
- passengerName: "Sandra Vicente Garcia",
469
- phoneNumberPassenger: "453654654",
470
- phoneNumberTaxiDriver: "600000000",
471
- idSupplierTaxi: "11",
472
- idSupplierService: "15826",
473
- cancelledWithCharge: false,
474
- priceCustomer: "23.00000",
475
- priceSupplier: "23.00000",
476
- phoneNumberSupplier: "676800672",
477
- idAuthorizationGroup: 335,
478
- supplierTaxiDescription: "Seat León | 4",
479
- subscriberCode: "6300",
480
- userNumber: "93271095",
481
- idService: 1946195316,
482
- shared: false,
483
- timeZone: "Europe/Madrid",
484
- 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)",
485
- tollCustomer: 0.00000,
486
- tollSupplier: 0.00000,
487
- paymentMethodCustomer: 4,
488
- createdBy: 146280,
489
- bookingBreakTitle1: "Evento",
490
- bookingBreakTitle2: "Descripción actuación",
491
- bookingBreakTitle3: "Centro de coste",
492
- bookingBreakTitle4: "CIF visita comercial",
493
- bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
494
- bookingBreakValue2: "sasasa",
495
- bookingBreakValue3: "",
496
- bookingBreakValue4: "02661135N",
497
- authorizationBreakTitle1: "Num.Empleado",
498
- authorizationBreakTitle2: "Centro Empleado",
499
- authorizationBreakTitle3: "ID Empresa",
500
- authorizationBreakTitle7: "Nombre de la empresa",
501
- authorizationBreakValue1: "U0193271",
502
- authorizationBreakValue2: "5570",
503
- authorizationBreakValue3: "95",
504
- authorizationBreakValue5: "SC",
505
- authorizationBreakValue6: "U0193271095",
506
- authorizationBreakValue7: "FACILITIES"
507
- },
508
- {
509
- id: 346248956,
510
- idUser: 146280,
511
- idAuthorization: 817457,
512
- status: 30,
513
- originAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
514
- destinationAddressField: "Estación de Chamartín, Madrid, España",
515
- timeBookingStartRealTimestamp: 1653559804000,
516
- asap: true,
517
- paymentMethod: 50,
518
- entryChannel: 15,
519
- idSupplierFleet: 57,
520
- idSupplier: 57,
521
- distanceMeters: 10501,
522
- durationMinutes: 0,
523
- location: "MADRID",
524
- passengerName: "Alberto Alvarez Gonzalez",
525
- phoneNumberPassenger: "453654654",
526
- phoneNumberTaxiDriver: "600000000",
527
- idSupplierTax: "11",
528
- idSupplierServic: "15828",
529
- cancelledWithCharg: false,
530
- priceCustomer: "25.00000",
531
- priceSupplier: "25.00000",
532
- phoneNumberSupplier: "676800672",
533
- idAuthorizationGroup: 335,
534
- supplierTaxiDescription: "Seat León | 4",
535
- subscriberCode: "6300",
536
- userNumber: "93271095",
537
- idService: 1946195318,
538
- shared: false,
539
- timeZone: "Europe/Madrid",
540
- 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)",
541
- tollCustomer: 0.00000,
542
- tollSupplier: 0.00000,
543
- paymentMethodCustomer: 4,
544
- createdBy: 146280,
545
- bookingBreakTitle1: "Evento",
546
- bookingBreakTitle2: "Descripción actuación",
547
- bookingBreakTitle3: "Centro de coste",
548
- bookingBreakTitle4: "CIF visita comercial",
549
- bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
550
- bookingBreakValue2: "a",
551
- bookingBreakValue3: "",
552
- bookingBreakValue4: "02661135N",
553
- authorizationBreakTitle1: "Num.Empleado",
554
- authorizationBreakTitle2: "Centro Empleado",
555
- authorizationBreakTitle3: "ID Empresa",
556
- authorizationBreakTitle7: "Nombre de la empresa",
557
- authorizationBreakValue1: "U0193271",
558
- authorizationBreakValue2: "5570",
559
- authorizationBreakValue3: "95",
560
- authorizationBreakValue5: "SC",
561
- authorizationBreakValue6: "U0193271095",
562
- authorizationBreakValue7: "FACILITIES"
563
- },
564
- {
565
- id: 346248955,
566
- idUser: 146280,
567
- idAuthorization: 817457,
568
- status: 30,
569
- originAddressField: "Estación de Chamartín, Madrid, España",
570
- destinationAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
571
- timeBookingStartRealTimestamp: 1653559749000,
572
- asap: true,
573
- paymentMethod: 50,
574
- entryChannel: 15,
575
- idSupplierFleet: 57,
576
- idSupplier: 57,
577
- distanceMeters: 10501,
578
- durationMinutes: 0,
579
- location: "MADRID",
580
- passengerName: "Zombre Apellido1 Apellido2",
581
- phoneNumberPassenger: "453654654",
582
- phoneNumberTaxiDriver: "600000000",
583
- idSupplierTaxi: "11",
584
- idSupplierService: "15827",
585
- cancelledWithCharge: false,
586
- priceCustomer: "22.50000",
587
- priceSupplier: "22.50000",
588
- phoneNumberSupplier: "676800672",
589
- idAuthorizationGroup: 335,
590
- supplierTaxiDescription: "Seat León | 4",
591
- subscriberCode: "6300",
592
- userNumber: "93271095",
593
- idService: 1946195317,
594
- shared: false,
595
- timeZone: "Europe/Madrid",
596
- 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)",
597
- tollCustomer: 0.00000,
598
- tollSupplier: 0.00000,
599
- paymentMethodCustomer: 4,
600
- createdBy: 146280,
601
- bookingBreakTitle1: "Evento",
602
- bookingBreakTitle2: "Descripción actuación",
603
- bookingBreakTitle3: "Centro de coste",
604
- bookingBreakTitle4: "CIF visita comercial",
605
- bookingBreakValue1: "Ev. Gen. - Acciones comerciales",
606
- bookingBreakValue2: "sasasa",
607
- bookingBreakValue3: "",
608
- bookingBreakValue4: "02661135N",
609
- authorizationBreakTitle1: "Num.Empleado",
610
- authorizationBreakTitle2: "Centro Empleado",
611
- authorizationBreakTitle3: "ID Empresa",
612
- authorizationBreakTitle7: "Nombre de la empresa",
613
- authorizationBreakValue1: "U0193271",
614
- authorizationBreakValue2: "5570",
615
- authorizationBreakValue3: "95",
616
- authorizationBreakValue5: "SC",
617
- authorizationBreakValue6: "U0193271095",
618
- authorizationBreakValue7: "FACILITIES"
619
- },
620
- {
621
- id: 346248954,
622
- idUser: 146280,
623
- idAuthorization: 817457,
624
- status: 30,
625
- originAddressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
626
- destinationAddressField: "Estación de Chamartín, Madrid, España",
137
+ origin: {
138
+ addressField: "Cines Embajadores, Glorieta Sta. María de la Cabeza, 5, 28045 Madrid",
139
+ lat: 40.40068,
140
+ lon: -3.698589
141
+ },
142
+ destination: {
143
+ addressField: "Estación de Chamartín, Madrid, España",
144
+ lat: 40.47237,
145
+ lon: -3.683141
146
+ },
627
147
  timeBookingStartRealTimestamp: 1653559603000,
628
148
  asap: true,
629
149
  paymentMethod: 50,
@@ -680,6 +200,7 @@ export const options = {
680
200
  activeView: true,
681
201
  sortable: true,
682
202
  accessor: 'timeBookingStartRealTimestamp',
203
+ subAccessor: '',
683
204
  title: 'Fecha',
684
205
  viewIsFilter: true,
685
206
  typeFilter: 'date',
@@ -692,6 +213,7 @@ export const options = {
692
213
  activeView: true,
693
214
  sortable: true,
694
215
  accessor: 'passengerName',
216
+ subAccessor: '',
695
217
  title: 'Pasajero',
696
218
  viewIsFilter: true,
697
219
  typeFilter: 'text',
@@ -703,7 +225,8 @@ export const options = {
703
225
  {
704
226
  activeView: true,
705
227
  sortable: true,
706
- accessor: 'originAddressField',
228
+ accessor: 'origin',
229
+ subAccessor: 'addressField',
707
230
  title: 'Recogida',
708
231
  viewIsFilter: true,
709
232
  typeFilter: 'text',
@@ -715,7 +238,8 @@ export const options = {
715
238
  {
716
239
  activeView: true,
717
240
  sortable: true,
718
- accessor: 'destinationAddressField',
241
+ accessor: 'destination',
242
+ subAccessor: 'addressField',
719
243
  title: 'Destino',
720
244
  viewIsFilter: true,
721
245
  typeFilter: 'text',
@@ -728,6 +252,7 @@ export const options = {
728
252
  activeView: true,
729
253
  sortable: true,
730
254
  accessor: 'priceCustomer',
255
+ subAccessor: '',
731
256
  title: 'Precio',
732
257
  viewIsFilter: true,
733
258
  typeFilter: 'text',
@@ -740,6 +265,7 @@ export const options = {
740
265
  activeView: false,
741
266
  sortable: true,
742
267
  accessor: 'id',
268
+ subAccessor: '',
743
269
  title: 'ID',
744
270
  viewIsFilter: true,
745
271
  typeFilter: 'number',
@@ -752,6 +278,7 @@ export const options = {
752
278
  activeView: false,
753
279
  sortable: true,
754
280
  accessor: 'idService',
281
+ subAccessor: '',
755
282
  title: 'ID Reserva',
756
283
  viewIsFilter: true,
757
284
  typeFilter: 'number',
@@ -764,6 +291,7 @@ export const options = {
764
291
  activeView: false,
765
292
  sortable: true,
766
293
  accessor: 'idSupplier',
294
+ subAccessor: '',
767
295
  title: 'ID Proveedor',
768
296
  viewIsFilter: true,
769
297
  typeFilter: 'number',
@@ -772,69 +300,24 @@ export const options = {
772
300
  nameInput: 'ID Proveedor',
773
301
  placeholder: 'ID Proveedor'
774
302
  },
775
- // {
776
- // accessor: 'full_name',
777
- // title: 'Referencia',
778
- // viewIsFilter: true,
779
- // typeFilter: 'text',
780
- // idInput: 'Referencia',
781
- // nameInput: 'Referencia',
782
- // placeholder: 'Referencia'
783
- // },
784
- // {
785
- // accessor: 'full_name',
786
- // title: 'Taxi',
787
- // viewIsFilter: true,
788
- // typeFilter: 'text',
789
- // idInput: 'Taxi',
790
- // nameInput: 'Taxi',
791
- // placeholder: 'Taxi'
792
- // },
793
- // {
794
- // accessor: 'full_name',
795
- // title: 'Abonado',
796
- // viewIsFilter: true,
797
- // typeFilter: 'text',
798
- // idInput: 'Abonado',
799
- // nameInput: 'Abonado',
800
- // placeholder: 'Abonado'
801
- // },
802
- // {
803
- // accessor: 'full_name',
804
- // title: 'Nº usuario',
805
- // viewIsFilter: true,
806
- // typeFilter: 'text',
807
- // idInput: 'Nº usuario',
808
- // nameInput: 'Nº usuario',
809
- // placeholder: 'Nº usuario'
810
- // },
811
- // {
812
- // accessor: 'full_name',
813
- // title: 'Ubicacion',
814
- // viewIsFilter: true,
815
- // typeFilter: 'text',
816
- // idInput: 'Ubicacion',
817
- // nameInput: 'Ubicacion',
818
- // placeholder: 'Ubicacion'
819
- // }
820
303
  ],
821
304
 
822
305
  opAddColumns: [
823
306
  {
824
- label: 'ID',
825
- value: 'id',
826
- activeView: false,
307
+ label: 'ID',
308
+ value: 'id',
309
+ activeView: false,
827
310
  },
828
311
  {
829
- label: 'ID Reserva',
830
- value: 'idService',
831
- activeView: false,
312
+ label: 'ID Reserva',
313
+ value: 'idService',
314
+ activeView: false,
832
315
  },
833
316
  {
834
- label: 'ID Proveedor',
835
- value: 'idSupplier',
836
- activeView: false,
317
+ label: 'ID Proveedor',
318
+ value: 'idSupplier',
319
+ activeView: false,
837
320
  }
838
- ]
321
+ ]
839
322
 
840
323
  }