modelo sale con hasMany
This commit is contained in:
parent
c0014ef468
commit
e93daa9299
|
@ -1,6 +1,13 @@
|
|||
Tickets: Tickets
|
||||
Amount: Importe
|
||||
Basic data: Datos básicos
|
||||
Description: Descripción
|
||||
Discount: Descuento
|
||||
Item: Articulo
|
||||
Notes: Notas
|
||||
Observation type: Tipo de observación
|
||||
Description: Descripción
|
||||
The observation type must be unique: El tipo de observación debe ser único
|
||||
Price: Precio
|
||||
Quantity: Cantidad
|
||||
Sale: Lineas del pedido
|
||||
Some fields are invalid: Algunos campos no son válidos
|
||||
The observation type must be unique: El tipo de observación debe ser único
|
||||
Tickets: Tickets
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -19,6 +19,7 @@
|
|||
"fs-extra": "^5.0.0",
|
||||
"material-design-lite": "^1.3.0",
|
||||
"mg-crud": "^1.1.2",
|
||||
"npm": "^5.7.1",
|
||||
"oclazyload": "^0.6.3",
|
||||
"require-yaml": "0.0.1",
|
||||
"validator": "^6.2.1"
|
||||
|
|
|
@ -41,6 +41,11 @@
|
|||
"foreignKey": "itemFk",
|
||||
"required": true
|
||||
},
|
||||
"itemTag": {
|
||||
"type": "hasMany",
|
||||
"model": "ItemTag",
|
||||
"foreignKey": "itemFk"
|
||||
},
|
||||
"ticket": {
|
||||
"type": "belongsTo",
|
||||
"model": "Ticket",
|
||||
|
|
Loading…
Reference in New Issue