log en tablas invoiceIn
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Javi Gallego 2023-01-25 07:49:51 +01:00
parent 3c1f86f171
commit 1963cc2265
2 changed files with 20 additions and 8 deletions

View File

@ -1,6 +1,10 @@
{
"name": "InvoiceInDueDay",
"base": "VnModel",
"base": "Loggable",
"log": {
"model": "InvoiceInLog",
"relation": "invoiceIn"
},
"options": {
"mysql": {
"table": "invoiceInDueDay"
@ -12,9 +16,6 @@
"type": "number",
"description": "Identifier"
},
"invoiceInFk": {
"type": "number"
},
"dueDated": {
"type": "date"
},
@ -32,6 +33,11 @@
}
},
"relations": {
"invoiceIn": {
"type": "belongsTo",
"model": "InvoiceIn",
"foreignKey": "invoiceInFk"
},
"bank": {
"type": "belongsTo",
"model": "Bank",

View File

@ -1,6 +1,10 @@
{
"name": "InvoiceInIntrastat",
"base": "VnModel",
"base": "Loggable",
"log": {
"model": "InvoiceInLog",
"relation": "invoiceIn"
},
"options": {
"mysql": {
"table": "invoiceInIntrastat"
@ -12,9 +16,6 @@
"type": "number",
"description": "Identifier"
},
"invoiceInFk": {
"type": "number"
},
"net": {
"type": "number"
},
@ -35,6 +36,11 @@
}
},
"relations": {
"invoiceIn": {
"type": "belongsTo",
"model": "InvoiceIn",
"foreignKey": "invoiceInFk"
},
"intrastat": {
"type": "belongsTo",
"model": "Intrastat",