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..2c878b74b 100644 --- a/src/pages/Claim/Card/ClaimCard.vue +++ b/src/pages/Claim/Card/ClaimCard.vue @@ -17,18 +17,18 @@ const { t } = useI18n(); :info="t('You can search by claim id or customer name')" /> - - - - - - - - - - - - + + + + + + + + + + + + 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) { - - + {{ entity.client.name }} - {{ entity.client.name }} + {{ entity.client.name }} - - - - {{ t('claim.card.created') }} - {{ toDate(entity.created) }} - - - {{ t('claim.card.state') }} - - + + + + {{ t('claim.card.created') }} + {{ toDate(entity.created) }} + + + {{ t('claim.card.state') }} + + {{ entity.claimState.description }} - - - - - - - + + + + + + + {{ t('claim.card.ticketId') }} - - + + {{ entity.ticketFk }} - - - - + + + + {{ t('claim.card.assignedTo') }} - - {{ entity.worker.user.name }} - - - + + {{ entity.worker.user.name }} + + + - - + - {{ t('claim.card.customerSummary') }} - - {{ t('claim.card.customerSummary') }} + + - {{ t('claim.card.claimedTicket') }} - - + {{ t('claim.card.claimedTicket') }} + + - + 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', }); } - - - - - {{ t('pickupOrder') }} - - - - - - - - - - {{ t('openPickupOrder') }} - - - - - - {{ t('sendPickupOrder') }} - - - - - - - - - - {{ t('deleteClaim') }} - + + + + + {{ t('pickupOrder') }} + + + + + + + + + + {{ t('openPickupOrder') }} + + + + + + {{ t('sendPickupOrder') }} + + + + + + + + + + {{ t('deleteClaim') }} + 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 @@ + + + + + {{ t('Claimed lines') }} + + + + {{ t('Amount') }} + + {{ toCurrency(amount) }} + + + + + {{ t('Amount Claimed') }} + + {{ toCurrency(amountClaimed) }} + + + + + + + + + + + + + + + {{ value }} + + + $event.target.select()" + /> + + + + + + + {{ value }} + + + + + + + + + + + + + + + + {{ column.label }} + + + + + + {{ column.value }} + + + $event.target.select() + " + /> + + + + + + {{ column.value }} + + + + + + {{ column.value }} + + + + + + + + + + + + + + + + + + {{ t('globals.remove') }} + + + {{ t('globals.add') }} + + + + + + + + + + + + + + + + + + + +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 @@ + + + (claimableSales = data)" + auto-load + /> + + + + {{ t('Available sales lines') }} + + + + + + + + + + + + + + + + + + +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) { - - {{ t('Audit logs') }} - + {{ t('Audit logs') }} + - @@ -82,12 +82,12 @@ function actionColor(action) { }} - + {{ t(`actions.${log.action}`) }} - + {{ t(`models.${log.model}`) }} - - - + {{ t(col.label) }} - - + + - - + + - - + + - - + + {{ t('globals.collapseMenu') }} - - + + - - + + - - + +