From a2c96d276e65bea5690cc478280aa4dfe48c13ff Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 2 Jan 2024 08:17:04 -0300 Subject: [PATCH 01/58] Supplier Basic data, Billing data and Fiscal data --- src/i18n/en/index.js | 30 ++ src/i18n/es/index.js | 30 ++ .../Customer/CustomerExtendedListFilter.vue | 1 - src/pages/Supplier/Card/SupplierBasicData.vue | 98 +++++- .../Supplier/Card/SupplierBillingData.vue | 69 ++++- .../Supplier/Card/SupplierFiscalData.vue | 293 +++++++++++++++++- 6 files changed, 517 insertions(+), 4 deletions(-) diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index a7567866b..0e34798d7 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -860,6 +860,36 @@ export default { create: { supplierName: 'Supplier name', }, + basicData: { + alias: 'Alias', + workerFk: 'Responsible', + isSerious: 'Verified', + isActive: 'Active', + isPayMethodChecked: 'PayMethod checked', + note: 'Notes', + }, + fiscalData: { + name: 'Social name *', + nif: 'Tax number *', + account: 'Account', + sageTaxTypeFk: 'Sage tax type', + sageWithholdingFk: 'Sage withholding', + sageTransactionTypeFk: 'Sage transaction type', + supplierActivityFk: 'Supplier activity', + healthRegister: 'Health register', + street: 'Street', + postcode: 'Postcode', + city: 'City *', + provinceFk: 'Province', + country: 'Country', + isTrucker: 'Trucker', + isVies: 'Vies', + }, + billingData: { + payMethodFk: 'Billing data', + payDemFk: 'Payment deadline', + payDay: 'Pay day', + }, }, travel: { pageTitles: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index c4820e70e..c83d25e3f 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -859,6 +859,36 @@ export default { create: { supplierName: 'Nombre del proveedor', }, + basicData: { + alias: 'Alias', + workerFk: 'Responsable', + isSerious: 'Verificado', + isActive: 'Activo', + isPayMethodChecked: 'Método de pago validado', + note: 'Notas', + }, + fiscalData: { + name: 'Razón social *', + nif: 'NIF/CIF *', + account: 'Cuenta', + sageTaxTypeFk: 'Tipo de impuesto sage', + sageWithholdingFk: 'Retención sage', + sageTransactionTypeFk: 'Tipo de transacción sage', + supplierActivityFk: 'Actividad proveedor', + healthRegister: 'Pasaporte sanitario', + street: 'Calle', + postcode: 'Código postal', + city: 'Población *', + provinceFk: 'Provincia', + country: 'País', + isTrucker: 'Transportista', + isVies: 'Vies', + }, + billingData: { + payMethodFk: 'Forma de pago', + payDemFk: 'Plazo de pago', + payDay: 'Día de pago', + }, }, travel: { pageTitles: { diff --git a/src/pages/Customer/CustomerExtendedListFilter.vue b/src/pages/Customer/CustomerExtendedListFilter.vue index 0cf614fca..f7e83a757 100644 --- a/src/pages/Customer/CustomerExtendedListFilter.vue +++ b/src/pages/Customer/CustomerExtendedListFilter.vue @@ -565,7 +565,6 @@ const shouldRenderColumn = (colName) => { - es: Social name: Razón social diff --git a/src/pages/Supplier/Card/SupplierBasicData.vue b/src/pages/Supplier/Card/SupplierBasicData.vue index 582da48f3..b73ce9346 100644 --- a/src/pages/Supplier/Card/SupplierBasicData.vue +++ b/src/pages/Supplier/Card/SupplierBasicData.vue @@ -1 +1,97 @@ - + + diff --git a/src/pages/Supplier/Card/SupplierBillingData.vue b/src/pages/Supplier/Card/SupplierBillingData.vue index 849737fa7..1237a0403 100644 --- a/src/pages/Supplier/Card/SupplierBillingData.vue +++ b/src/pages/Supplier/Card/SupplierBillingData.vue @@ -1 +1,68 @@ - + + diff --git a/src/pages/Supplier/Card/SupplierFiscalData.vue b/src/pages/Supplier/Card/SupplierFiscalData.vue index dd018ac60..ebf1b96b6 100644 --- a/src/pages/Supplier/Card/SupplierFiscalData.vue +++ b/src/pages/Supplier/Card/SupplierFiscalData.vue @@ -1 +1,292 @@ - + + + + +es: + When activating it, do not enter the country code in the ID field.: Al activarlo, no informar el código del país en el campo nif + From 5e9006bf331f730fe66175b7823e1f2478c89b63 Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Thu, 4 Jan 2024 00:58:08 -0400 Subject: [PATCH 02/58] Fix travel summary cards --- src/pages/Travel/Card/TravelSummary.vue | 112 ++++++++++-------------- 1 file changed, 45 insertions(+), 67 deletions(-) diff --git a/src/pages/Travel/Card/TravelSummary.vue b/src/pages/Travel/Card/TravelSummary.vue index 3bc5f0584..946bb7426 100644 --- a/src/pages/Travel/Card/TravelSummary.vue +++ b/src/pages/Travel/Card/TravelSummary.vue @@ -218,75 +218,53 @@ const openEntryDescriptor = () => {}; diff --git a/src/pages/Supplier/Card/SupplierContacts.vue b/src/pages/Supplier/Card/SupplierContacts.vue index ca58d4ab7..2331bd7e9 100644 --- a/src/pages/Supplier/Card/SupplierContacts.vue +++ b/src/pages/Supplier/Card/SupplierContacts.vue @@ -1 +1,117 @@ - + + + + + + + es: + Add contact: Añadir contacto + Remove contact: Remover contacto + From 865a13aafa6215ed9c97cfefead3c928f2b898ad Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 8 Jan 2024 16:16:42 -0300 Subject: [PATCH 05/58] Submodulos de suppliers: Accounts, Contacts y Addresses --- src/components/CreateNewPostcodeForm.vue | 2 +- src/i18n/en/index.js | 4 + src/i18n/es/index.js | 4 + src/pages/Supplier/Card/SupplierAddresses.vue | 12 +- .../Supplier/Card/SupplierAddressesCreate.vue | 182 ++++++++++++++++++ src/pages/Supplier/Card/SupplierContacts.vue | 1 + src/router/modules/Supplier.js | 6 + 7 files changed, 208 insertions(+), 3 deletions(-) create mode 100644 src/pages/Supplier/Card/SupplierAddressesCreate.vue diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue index 3504445f8..a8e999ae1 100644 --- a/src/components/CreateNewPostcodeForm.vue +++ b/src/components/CreateNewPostcodeForm.vue @@ -131,7 +131,7 @@ const onProvinceCreated = async () => { es: New postcode: Nuevo código postal Please, ensure you put the correct data!: ¡Por favor, asegúrese de poner los datos correctos! - City: Ciudad + City: Población Province: Provincia Country: País Postcode: Código postal diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 5682113b2..85a82ebe5 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -921,6 +921,10 @@ export default { street: 'Street', postcode: 'Postcode', phone: 'Phone', + name: 'Name', + city: 'City', + province: 'Province', + mobile: 'Mobile', }, }, travel: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index e3a2ec5db..44ce18cc9 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -920,6 +920,10 @@ export default { street: 'Dirección', postcode: 'Código postal', phone: 'Teléfono', + name: 'Nombre', + city: 'Población', + province: 'Provincia', + mobile: 'Móvil', }, }, travel: { diff --git a/src/pages/Supplier/Card/SupplierAddresses.vue b/src/pages/Supplier/Card/SupplierAddresses.vue index 17c9e7c4c..df7cff932 100644 --- a/src/pages/Supplier/Card/SupplierAddresses.vue +++ b/src/pages/Supplier/Card/SupplierAddresses.vue @@ -33,7 +33,15 @@ const addressesFilter = { }; const redirectToCreateView = () => { - router.push({ name: 'SupplierCreate' }); + router.push({ name: 'SupplierAddressesCreate' }); +}; + +const redirectToUpdateView = (addressData) => { + const stringifiedAddressData = JSON.stringify(addressData); + router.push({ + name: 'SupplierAddressesCreate', + query: { addressData: stringifiedAddressData }, + }); }; @@ -52,7 +60,7 @@ const redirectToCreateView = () => { :key="row.id" :title="row.nickname" :id="row.id" - @click="redirectToCreateView(row.id)" + @click="redirectToUpdateView(row)" > - - en: params: diff --git a/src/pages/InvoiceOut/InvoiceOutFilter.vue b/src/pages/InvoiceOut/InvoiceOutFilter.vue index 124ea00d1..f8a430b51 100644 --- a/src/pages/InvoiceOut/InvoiceOutFilter.vue +++ b/src/pages/InvoiceOut/InvoiceOutFilter.vue @@ -41,95 +41,89 @@ function setWorkers(data) { diff --git a/src/pages/InvoiceOut/InvoiceOutNegativeBasesFilter.vue b/src/pages/InvoiceOut/InvoiceOutNegativeBasesFilter.vue index 028246aeb..3adfa1d13 100644 --- a/src/pages/InvoiceOut/InvoiceOutNegativeBasesFilter.vue +++ b/src/pages/InvoiceOut/InvoiceOutNegativeBasesFilter.vue @@ -27,87 +27,83 @@ const props = defineProps({ - - en: params: diff --git a/src/pages/Order/Card/OrderCatalogFilter.vue b/src/pages/Order/Card/OrderCatalogFilter.vue index c325a9b05..760c48726 100644 --- a/src/pages/Order/Card/OrderCatalogFilter.vue +++ b/src/pages/Order/Card/OrderCatalogFilter.vue @@ -219,183 +219,181 @@ const getCategoryClass = (category, params) => { diff --git a/src/pages/Order/Card/OrderFilter.vue b/src/pages/Order/Card/OrderFilter.vue index b49f0b115..62bfe0e02 100644 --- a/src/pages/Order/Card/OrderFilter.vue +++ b/src/pages/Order/Card/OrderFilter.vue @@ -59,162 +59,152 @@ const sourceList = ref(null); - - en: params: diff --git a/src/pages/Route/Card/RouteFilter.vue b/src/pages/Route/Card/RouteFilter.vue index 45580d913..4be1981ab 100644 --- a/src/pages/Route/Card/RouteFilter.vue +++ b/src/pages/Route/Card/RouteFilter.vue @@ -61,144 +61,142 @@ const warehouseList = ref([]); diff --git a/src/pages/Route/Cmr/CmrFilter.vue b/src/pages/Route/Cmr/CmrFilter.vue index a5bf5513b..553f19431 100644 --- a/src/pages/Route/Cmr/CmrFilter.vue +++ b/src/pages/Route/Cmr/CmrFilter.vue @@ -28,103 +28,101 @@ const countries = ref(); diff --git a/src/pages/Shelving/Card/ShelvingFilter.vue b/src/pages/Shelving/Card/ShelvingFilter.vue index 423402f89..6767f6d97 100644 --- a/src/pages/Shelving/Card/ShelvingFilter.vue +++ b/src/pages/Shelving/Card/ShelvingFilter.vue @@ -41,7 +41,11 @@ function setParkings(data) { @on-fetch="setWorkers" auto-load /> - + diff --git a/src/pages/Ticket/TicketFilter.vue b/src/pages/Ticket/TicketFilter.vue index b0b584257..7b74117bb 100644 --- a/src/pages/Ticket/TicketFilter.vue +++ b/src/pages/Ticket/TicketFilter.vue @@ -56,66 +56,138 @@ const warehouses = ref(); diff --git a/src/pages/Travel/ExtraCommunityFilter.vue b/src/pages/Travel/ExtraCommunityFilter.vue index 260b0fb42..cac8e093d 100644 --- a/src/pages/Travel/ExtraCommunityFilter.vue +++ b/src/pages/Travel/ExtraCommunityFilter.vue @@ -66,158 +66,149 @@ const decrement = (paramsObj, key) => { - es: Search claim: Buscar reclamación diff --git a/src/pages/Claim/ClaimRmaList.vue b/src/pages/Claim/ClaimRmaList.vue index 3774932e3..b906e32fa 100644 --- a/src/pages/Claim/ClaimRmaList.vue +++ b/src/pages/Claim/ClaimRmaList.vue @@ -84,7 +84,7 @@ async function remove({ id }) { -
+
{ -
+
{ - - es: Search customer: Buscar cliente diff --git a/src/pages/Customer/Payments/CustomerPayments.vue b/src/pages/Customer/Payments/CustomerPayments.vue index de774e63e..eedaaf137 100644 --- a/src/pages/Customer/Payments/CustomerPayments.vue +++ b/src/pages/Customer/Payments/CustomerPayments.vue @@ -122,7 +122,7 @@ function stateColor(row) { -
+
.customer-payments { - .card-list { - width: 100%; - max-width: 60em; - - .q-table--dense .q-table th:first-child { - padding-left: 0; - } - td { - max-width: 130px; - overflow: hidden; - text-overflow: ellipsis; - } + .q-table--dense .q-table th:first-child { + padding-left: 0; + } + td { + max-width: 130px; + overflow: hidden; + text-overflow: ellipsis; } } diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index 40747178c..0cf707efa 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -47,7 +47,7 @@ onMounted(async () => { -
+
{ - - es: Search entries: Buscar entradas diff --git a/src/pages/InvoiceIn/InvoiceInList.vue b/src/pages/InvoiceIn/InvoiceInList.vue index bf791c10e..2f508ec34 100644 --- a/src/pages/InvoiceIn/InvoiceInList.vue +++ b/src/pages/InvoiceIn/InvoiceInList.vue @@ -71,7 +71,7 @@ function viewSummary(id) { -
+
- - es: Search invoice: Buscar factura emitida diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index 292fa2e0a..36d1d3aad 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -181,7 +181,7 @@ const downloadCsv = () => {
-
+
{ - - en: searchInvoice: Search issued invoice diff --git a/src/pages/Order/OrderCatalog.vue b/src/pages/Order/OrderCatalog.vue index 55f5e7da1..21442d10d 100644 --- a/src/pages/Order/OrderCatalog.vue +++ b/src/pages/Order/OrderCatalog.vue @@ -1,7 +1,7 @@ @@ -70,7 +70,7 @@ function extractTags(items) { -
+
diff --git a/src/pages/Order/OrderVolume.vue b/src/pages/Order/OrderVolume.vue index 4f4c269f6..5bb106edc 100644 --- a/src/pages/Order/OrderVolume.vue +++ b/src/pages/Order/OrderVolume.vue @@ -35,7 +35,7 @@ const loadVolumes = async (rows) => { auto-load /> -
+
{ } diff --git a/src/pages/Supplier/Card/SupplierAddresses.vue b/src/pages/Supplier/Card/SupplierAddresses.vue index df7cff932..c6b08075f 100644 --- a/src/pages/Supplier/Card/SupplierAddresses.vue +++ b/src/pages/Supplier/Card/SupplierAddresses.vue @@ -47,7 +47,7 @@ const redirectToUpdateView = (addressData) => { - - diff --git a/src/pages/Supplier/SupplierList.vue b/src/pages/Supplier/SupplierList.vue index ea7bc3cb0..d504e127a 100644 --- a/src/pages/Supplier/SupplierList.vue +++ b/src/pages/Supplier/SupplierList.vue @@ -44,7 +44,7 @@ const viewSummary = (id) => { -
+
- - en: Search suppliers: Search suppliers diff --git a/src/pages/Ticket/TicketList.vue b/src/pages/Ticket/TicketList.vue index 9186eb6ad..6f57ad0b9 100644 --- a/src/pages/Ticket/TicketList.vue +++ b/src/pages/Ticket/TicketList.vue @@ -74,7 +74,7 @@ function viewSummary(id) { -
+
- - es: Search ticket: Buscar ticket diff --git a/src/pages/Travel/TravelList.vue b/src/pages/Travel/TravelList.vue index 889f096aa..dbbdaca93 100644 --- a/src/pages/Travel/TravelList.vue +++ b/src/pages/Travel/TravelList.vue @@ -56,7 +56,7 @@ onMounted(async () => { -
+
{ - - en: addEntry: Add entry diff --git a/src/pages/Wagon/Type/WagonTypeList.vue b/src/pages/Wagon/Type/WagonTypeList.vue index 8e4ace744..a7c713039 100644 --- a/src/pages/Wagon/Type/WagonTypeList.vue +++ b/src/pages/Wagon/Type/WagonTypeList.vue @@ -42,7 +42,7 @@ async function remove(row) { - - diff --git a/src/pages/Wagon/WagonList.vue b/src/pages/Wagon/WagonList.vue index 77d9da0bf..18417f433 100644 --- a/src/pages/Wagon/WagonList.vue +++ b/src/pages/Wagon/WagonList.vue @@ -48,7 +48,7 @@ async function remove(row) { - - diff --git a/src/pages/Worker/WorkerList.vue b/src/pages/Worker/WorkerList.vue index e7e86d16e..0e9868a04 100644 --- a/src/pages/Worker/WorkerList.vue +++ b/src/pages/Worker/WorkerList.vue @@ -64,7 +64,7 @@ const redirectToCreateView = () => { -
+
{ - - es: Search worker: Buscar trabajador From 23210600ac78e89925c22a2905dde02d5bd0c6f0 Mon Sep 17 00:00:00 2001 From: carlosfonseca Date: Mon, 22 Jan 2024 11:00:03 -0500 Subject: [PATCH 54/58] Se hace correccion solicitada en issuecomment-39539 --- .../Customer/Card/CustomerBillingData.vue | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/pages/Customer/Card/CustomerBillingData.vue b/src/pages/Customer/Card/CustomerBillingData.vue index cee583f39..a455e6db2 100644 --- a/src/pages/Customer/Card/CustomerBillingData.vue +++ b/src/pages/Customer/Card/CustomerBillingData.vue @@ -1,8 +1,10 @@