diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c59fc781..243d67a34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - (Reclamaciones) => Añadida nueva sección "Registros de auditoría" - (Trabajadores) => Añadido módulo de trabajadores - (General) => Añadida barra de búsqueda general en los listados principales +- (Vagones) => Añadido módulo de vagones ### Changed diff --git a/quasar.config.js b/quasar.config.js index e9f7a1929..cbcbae4dc 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -140,8 +140,8 @@ module.exports = configure(function (/* ctx */) { // Quasar plugins plugins: ['Notify', 'Dialog'], - //all: 'auto', - //autoImportComponentCase: 'pascal', + all: 'auto', + autoImportComponentCase: 'pascal', }, // animations: 'all', // --- includes all animations diff --git a/src/App.vue b/src/App.vue index 650a979d8..8e9bea2e4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -36,7 +36,7 @@ quasar.iconMapFn = (iconName) => { diff --git a/src/pages/Claim/Card/ClaimBasicData.vue b/src/pages/Claim/Card/ClaimBasicData.vue index f8ba29819..87a5dd8bb 100644 --- a/src/pages/Claim/Card/ClaimBasicData.vue +++ b/src/pages/Claim/Card/ClaimBasicData.vue @@ -73,17 +73,17 @@ const statesFilter = { }; - - + + diff --git a/src/pages/Claim/Card/ClaimCard.vue b/src/pages/Claim/Card/ClaimCard.vue index fd827ca65..2691bbc51 100644 --- a/src/pages/Claim/Card/ClaimCard.vue +++ b/src/pages/Claim/Card/ClaimCard.vue @@ -1,12 +1,36 @@ es: Search claim: Buscar reclamación You can search by claim id or customer name: Puedes buscar por id de la reclamación o nombre del cliente + Details: Detalles + Notes: Notas + Development: Trazabilidad + Action: Acción diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue index aa78776a9..baba66e2a 100644 --- a/src/pages/Claim/Card/ClaimDescriptor.vue +++ b/src/pages/Claim/Card/ClaimDescriptor.vue @@ -47,77 +47,77 @@ function stateColor(code) { diff --git a/src/pages/Claim/Card/ClaimDescriptorMenu.vue b/src/pages/Claim/Card/ClaimDescriptorMenu.vue index bd1efe0ce..5688613d6 100644 --- a/src/pages/Claim/Card/ClaimDescriptorMenu.vue +++ b/src/pages/Claim/Card/ClaimDescriptorMenu.vue @@ -69,43 +69,43 @@ async function remove() { await axios.delete(`Claims/${id}`); quasar.notify({ message: t('globals.dataDeleted'), - type: 'positive' + type: 'positive', }); } diff --git a/src/pages/Claim/Card/ClaimLines.vue b/src/pages/Claim/Card/ClaimLines.vue new file mode 100644 index 000000000..ea87aa314 --- /dev/null +++ b/src/pages/Claim/Card/ClaimLines.vue @@ -0,0 +1,440 @@ + + + + + + +en: + You are about to remove {count} rows: ' + You are about to remove {count} row | + You are about to remove {count} rows' +es: + Claimed lines: Líneas reclamadas + Delivered: Entregado + Quantity: Cantidad + Claimed: Reclamada + Description: Descripción + Price: Precio + Discount: Descuento + Actions: Acciones + Amount: Total + Amount Claimed: Cantidad reclamada + Delete claimed sales: Eliminar ventas reclamadas + Discount updated: Descuento actualizado + Claimed quantity: Cantidad reclamada + You are about to remove {count} rows: ' + Vas a eliminar {count} línea | + Vas a eliminar {count} líneas' + diff --git a/src/pages/Claim/Card/ClaimLinesImport.vue b/src/pages/Claim/Card/ClaimLinesImport.vue new file mode 100644 index 000000000..fad1ac3af --- /dev/null +++ b/src/pages/Claim/Card/ClaimLinesImport.vue @@ -0,0 +1,182 @@ + + + + + + + + +es: + Available sales lines: Líneas de venta disponibles + Delivered: Entrega + Quantity: Cantidad + Description: Descripción + Price: Precio + Discount: Descuento + Lines added to claim: Lineas añadidas a la reclamación + You must select at least one: Debes seleccionar al menos una + diff --git a/src/pages/Claim/Card/ClaimLog.vue b/src/pages/Claim/Card/ClaimLog.vue index 7a72a5e53..a5af8c72a 100644 --- a/src/pages/Claim/Card/ClaimLog.vue +++ b/src/pages/Claim/Card/ClaimLog.vue @@ -3,7 +3,7 @@ import { useI18n } from 'vue-i18n'; import { useRoute } from 'vue-router'; import { useSession } from 'src/composables/useSession'; import { useStateStore } from 'stores/useStateStore'; -import Paginate from 'src/components/PaginateData.vue'; +import VnPaginate from 'src/components/ui/VnPaginate.vue'; import ClaimLogFilter from './ClaimLogFilter.vue'; import { toDate } from 'src/filters'; @@ -57,9 +57,9 @@ function actionColor(action) { diff --git a/src/pages/Claim/Card/ClaimSummaryDialog.vue b/src/pages/Claim/Card/ClaimSummaryDialog.vue index 4364f28ab..5a2b965eb 100644 --- a/src/pages/Claim/Card/ClaimSummaryDialog.vue +++ b/src/pages/Claim/Card/ClaimSummaryDialog.vue @@ -15,9 +15,9 @@ const { dialogRef, onDialogHide } = useDialogPluginComponent(); diff --git a/src/pages/Wagon/Type/WagonTypeList.vue b/src/pages/Wagon/Type/WagonTypeList.vue new file mode 100644 index 000000000..f364da008 --- /dev/null +++ b/src/pages/Wagon/Type/WagonTypeList.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/pages/Wagon/WagonCreate.vue b/src/pages/Wagon/WagonCreate.vue new file mode 100644 index 000000000..3f7824975 --- /dev/null +++ b/src/pages/Wagon/WagonCreate.vue @@ -0,0 +1,182 @@ + + + + + diff --git a/src/pages/Wagon/WagonList.vue b/src/pages/Wagon/WagonList.vue new file mode 100644 index 000000000..5e512aa92 --- /dev/null +++ b/src/pages/Wagon/WagonList.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/src/pages/Wagon/WagonMain.vue b/src/pages/Wagon/WagonMain.vue new file mode 100644 index 000000000..66ce78f23 --- /dev/null +++ b/src/pages/Wagon/WagonMain.vue @@ -0,0 +1,17 @@ + + + diff --git a/src/pages/Worker/Card/WorkerCard.vue b/src/pages/Worker/Card/WorkerCard.vue index 65d863143..3d6b46e11 100644 --- a/src/pages/Worker/Card/WorkerCard.vue +++ b/src/pages/Worker/Card/WorkerCard.vue @@ -17,18 +17,18 @@ const { t } = useI18n(); :info="t('You can search by worker id or name')" /> - - + + - - - - - - - - - + + + + + + + + + diff --git a/src/pages/Worker/Card/WorkerDescriptor.vue b/src/pages/Worker/Card/WorkerDescriptor.vue index e138be22e..3b34d8b6f 100644 --- a/src/pages/Worker/Card/WorkerDescriptor.vue +++ b/src/pages/Worker/Card/WorkerDescriptor.vue @@ -54,21 +54,21 @@ function getWorkerAvatar() { }