summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/containers/Odipar/Pedidos/table/sampleData.js
blob: 497266906f7b09e4254bdad2f82b6ccb0a94ccb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
export const anchorTable = [
  {
    name: 'id',
    label: 'Identificador',
    initialValue: '',
    hidden: false,
    type: 'texto'
  }, {
    name: 'cantidad',
    label: 'Cantidad',
    initialValue: 0,
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, {
    name: 'fecha',
    label: 'Fecha de pedido',
    initialValue: new Date(),
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, {
    name: 'origen',
    label: 'Origen',
    initialValue: 'Lima',
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, {
    name: 'destino',
    label: 'Destino',
    initialValue: 'Lima',
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, {
    name: 'plazo_entrega',
    label: 'Plazo de entrega',
    initialValue: 'aja',
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, {
    name: 'nombre',
    label: 'Cliente',
    initialValue: null,
    width: 'auto',
    hidden: false,
    type: 'texto'
  }, {
    name: 'estado',
    label: 'Estado',
    initialValue: 0,
    width: 'auto',
    hidden: false,
    type: 'etiq_pedido'
  }, 
  {
    name: 'action',
    label: 'Action',
    initialValue: '',
    hidden: false
  },
];

export const dataApi = [
  {
    id: '1',
    cantidad: 30,
    origen: 'Arequipa',
    fecha: '24/05/2022 11:28 AM',
    destino: 'Cuzco',
    plazo_entrega: '24 horas',
    nombre: 'Juan',
    estado: 0,
    correo: 'mail@boss.com',
    dni: '123456'
  }, {
    id: '2',
    cantidad: 30,
    fecha: '24/05/2022 10:28 AM',
    origen: 'Lima',
    destino: 'Cuzco',
    plazo_entrega: '24 horas',
    nombre: 'Juan',
    estado: 1,
    correo: 'mail@boss.com',
    dni: '123456'
  }
];