From f88f60ef271b69156970e9559e76ef32809cd4d2 Mon Sep 17 00:00:00 2001 From: vicent Date: Mon, 7 Mar 2022 12:43:05 +0100 Subject: [PATCH] refactor code and icons --- modules/entry/front/routes.json | 2 +- .../agency-term/specs/createInvoiceIn.spec.js | 2 +- modules/route/back/models/agency-term.json | 16 ++++++++-------- modules/route/front/routes.json | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/entry/front/routes.json b/modules/entry/front/routes.json index 3b2a8f146..37dda7584 100644 --- a/modules/entry/front/routes.json +++ b/modules/entry/front/routes.json @@ -7,7 +7,7 @@ "menus": { "main": [ {"state": "entry.index", "icon": "icon-entry"}, - {"state": "entry.latestBuys", "icon": "icon-lastBuy"} + {"state": "entry.latestBuys", "icon": "contact_support"} ], "card": [ {"state": "entry.card.basicData", "icon": "settings"}, diff --git a/modules/route/back/methods/agency-term/specs/createInvoiceIn.spec.js b/modules/route/back/methods/agency-term/specs/createInvoiceIn.spec.js index 3f9c0ba44..d141dcadb 100644 --- a/modules/route/back/methods/agency-term/specs/createInvoiceIn.spec.js +++ b/modules/route/back/methods/agency-term/specs/createInvoiceIn.spec.js @@ -15,7 +15,7 @@ describe('AgencyTerm createInvoiceIn()', () => { } ]; - it('should make a global invoicing', async() => { + it('should make a invoice in', async() => { const tx = await models.AgencyTerm.beginTransaction({}); const options = {transaction: tx}; diff --git a/modules/route/back/models/agency-term.json b/modules/route/back/models/agency-term.json index 29f70951b..4e13c2a18 100644 --- a/modules/route/back/models/agency-term.json +++ b/modules/route/back/models/agency-term.json @@ -8,30 +8,30 @@ }, "properties": { "agencyFk": { - "type": "Number", + "type": "number", "id": true, "description": "Identifier" }, "minimumPackages": { - "type": "Number" + "type": "number" }, "kmPrice": { - "type": "Number" + "type": "number" }, "packagePrice": { - "type": "Number" + "type": "number" }, "routePrice": { - "type": "Number" + "type": "number" }, "minimumKm": { - "type": "Number" + "type": "number" }, "minimumM3": { - "type": "Number" + "type": "number" }, "m3Price": { - "type": "Number" + "type": "number" } } } diff --git a/modules/route/front/routes.json b/modules/route/front/routes.json index 7e0273441..0d66a5697 100644 --- a/modules/route/front/routes.json +++ b/modules/route/front/routes.json @@ -7,7 +7,7 @@ "menus": { "main": [ {"state": "route.index", "icon": "icon-delivery"}, - {"state": "route.agencyTerm.index", "icon": "icon-delivery"} + {"state": "route.agencyTerm.index", "icon": "contact_support"} ], "card": [ {"state": "route.card.basicData", "icon": "settings"},