+
+
{{ t('components.userPanel.settings') }}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/common/VnLocation.vue b/src/components/common/VnLocation.vue
index eeb7aebd1..9ed48ca15 100644
--- a/src/components/common/VnLocation.vue
+++ b/src/components/common/VnLocation.vue
@@ -88,6 +88,10 @@ function locationFilter(search = '') {
function handleFetch(data) {
postcodesOptions.value = data;
}
+function onDataSaved(newPostcode) {
+ postcodesOptions.value.push(newPostcode);
+ value.value = newPostcode.code;
+}
-
+
-
+
{{ opt.code }}
{{ showLabel(opt) }}
diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue
index eae391cc4..c1cc78f54 100644
--- a/src/components/common/VnLog.vue
+++ b/src/components/common/VnLog.vue
@@ -403,7 +403,7 @@ setLogTree();
auto-load
/>
@@ -819,7 +819,7 @@ setLogTree();
diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue
index 01048c6de..8e9304d3e 100644
--- a/src/components/ui/CardDescriptor.vue
+++ b/src/components/ui/CardDescriptor.vue
@@ -1,5 +1,5 @@
-
-
+
+
+
+
+
diff --git a/src/components/ui/VnSubToolbar.vue b/src/components/ui/VnSubToolbar.vue
index 1a6549856..22eebdf36 100644
--- a/src/components/ui/VnSubToolbar.vue
+++ b/src/components/ui/VnSubToolbar.vue
@@ -14,7 +14,7 @@ onUnmounted(() => {
-
+
@@ -24,6 +24,11 @@ onUnmounted(() => {
+
diff --git a/src/layouts/OutLayout.vue b/src/layouts/OutLayout.vue
index f66fcff1f..0eb1329a4 100644
--- a/src/layouts/OutLayout.vue
+++ b/src/layouts/OutLayout.vue
@@ -40,7 +40,7 @@ const langs = ['en', 'es'];
-
+
diff --git a/src/pages/Claim/Card/ClaimBasicData.vue b/src/pages/Claim/Card/ClaimBasicData.vue
index c7c5ab8a2..56717c628 100644
--- a/src/pages/Claim/Card/ClaimBasicData.vue
+++ b/src/pages/Claim/Card/ClaimBasicData.vue
@@ -9,6 +9,7 @@ import VnRow from 'components/ui/VnRow.vue';
import VnInput from 'src/components/common/VnInput.vue';
import VnInputDate from 'components/common/VnInputDate.vue';
+import axios from 'axios';
import { useSession } from 'src/composables/useSession';
const route = useRoute();
@@ -24,7 +25,7 @@ const claimFilter = {
'workerFk',
'claimStateFk',
'packages',
- 'hasToPickUp',
+ 'pickup',
],
include: [
{
@@ -50,6 +51,20 @@ function setClaimStates(data) {
claimStates.value = data;
claimStatesCopy.value = data;
}
+let optionsList;
+async function getEnumValues() {
+ optionsList = [{ id: null, description: t('claim.basicData.null') }];
+ const { data } = await axios.get(`Applications/get-enum-values`, {
+ params: {
+ schema: 'vn',
+ table: 'claim',
+ column: 'pickup',
+ },
+ });
+ for (let value of data)
+ optionsList.push({ id: value, description: t(`claim.basicData.${value}`) });
+}
+getEnumValues();
const workerFilter = {
options: workers,
@@ -168,13 +183,19 @@ const statesFilter = {
type="number"
/>
-
-
-
+
+
diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue
index b5b9aae99..968f1e294 100644
--- a/src/pages/Claim/Card/ClaimDescriptor.vue
+++ b/src/pages/Claim/Card/ClaimDescriptor.vue
@@ -107,7 +107,11 @@ onMounted(async () => {
-
+
{{ entity.claimState.description }}
diff --git a/src/pages/Claim/Card/ClaimDevelopment.vue b/src/pages/Claim/Card/ClaimDevelopment.vue
index 0b740cf64..9d38461f4 100644
--- a/src/pages/Claim/Card/ClaimDevelopment.vue
+++ b/src/pages/Claim/Card/ClaimDevelopment.vue
@@ -150,10 +150,8 @@ const columns = computed(() => [
{{ t('Amount') }}
-
+
{{ toCurrency(amount) }}
@@ -201,11 +201,9 @@ function showImportDialog() {
:columns="columns"
:rows="rows"
:dense="$q.screen.lt.md"
- :pagination="{ rowsPerPage: 0 }"
row-key="id"
selection="multiple"
v-model:selected="selected"
- hide-pagination
:grid="$q.screen.lt.md"
>
diff --git a/src/pages/Claim/Card/ClaimLinesImport.vue b/src/pages/Claim/Card/ClaimLinesImport.vue
index be8914eec..d2b28c609 100644
--- a/src/pages/Claim/Card/ClaimLinesImport.vue
+++ b/src/pages/Claim/Card/ClaimLinesImport.vue
@@ -121,7 +121,6 @@ function cancel() {
class="my-sticky-header-table"
:columns="columns"
:rows="claimableSales"
- :pagination="{ rowsPerPage: 10 }"
row-key="saleFk"
selection="multiple"
v-model:selected="selected"
diff --git a/src/pages/Claim/Card/ClaimSummary.vue b/src/pages/Claim/Card/ClaimSummary.vue
index 7ffd84e39..427943861 100644
--- a/src/pages/Claim/Card/ClaimSummary.vue
+++ b/src/pages/Claim/Card/ClaimSummary.vue
@@ -11,6 +11,8 @@ import VnLv from 'src/components/ui/VnLv.vue';
import ClaimNotes from 'src/pages/Claim/Card/ClaimNotes.vue';
import VnUserLink from 'src/components/ui/VnUserLink.vue';
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
+import VnTitle from 'src/components/common/VnTitle.vue';
+import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue';
const route = useRoute();
const { t } = useI18n();
@@ -176,14 +178,14 @@ function openDialog(dmsId) {
@on-fetch="getClaimDms"
>
- {{ claim.id }} - {{ claim.client.name }}
+ {{ claim.id }} - {{ claim.client.name }} ({{ claim.client.id }})
-
+
-
+
+ {{ claim.client?.name }}
+
+
-
-
+
-
+
-
-
+
-
+