diff --git a/src/components/FetchData.vue b/src/components/FetchData.vue index b8e7c2ac3..137f751db 100644 --- a/src/components/FetchData.vue +++ b/src/components/FetchData.vue @@ -30,7 +30,7 @@ const $props = defineProps({ params: { type: Object, default: null, - } + }, }); const emit = defineEmits(['onFetch']); @@ -42,9 +42,9 @@ onMounted(async () => { } }); -async function fetch() { +async function fetch(fetchFilter = {}) { try { - const filter = Object.assign({}, $props.filter); // eslint-disable-line vue/no-dupe-keys + const filter = Object.assign(fetchFilter, $props.filter); // eslint-disable-line vue/no-dupe-keys if ($props.where) filter.where = $props.where; if ($props.sortBy) filter.order = $props.sortBy; if ($props.limit) filter.limit = $props.limit; diff --git a/src/components/common/VnSelectFilter.vue b/src/components/common/VnSelectFilter.vue index f2fd2a311..244fb50bb 100644 --- a/src/components/common/VnSelectFilter.vue +++ b/src/components/common/VnSelectFilter.vue @@ -1,5 +1,5 @@ diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index e25130aa0..76d2d97c3 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -109,6 +109,7 @@ export default { customer: { pageTitles: { customers: 'Customers', + create: 'Create', list: 'List', webPayments: 'Web Payments', extendedList: 'Extended list', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index c0247dda0..26d8a335b 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -109,6 +109,7 @@ export default { customer: { pageTitles: { customers: 'Clientes', + create: 'Crear', list: 'Listado', webPayments: 'Pagos Web', extendedList: 'Listado extendido', diff --git a/src/pages/Claim/Card/ClaimDevelopment.vue b/src/pages/Claim/Card/ClaimDevelopment.vue index d1634c709..0b740cf64 100644 --- a/src/pages/Claim/Card/ClaimDevelopment.vue +++ b/src/pages/Claim/Card/ClaimDevelopment.vue @@ -1,13 +1,11 @@ @@ -15,11 +16,8 @@ const stateStore = useStateStore(); - -
- -
-
+ +
diff --git a/src/pages/Entry/Card/EntryCard.vue b/src/pages/Entry/Card/EntryCard.vue index 5aa50fc94..d4937e983 100644 --- a/src/pages/Entry/Card/EntryCard.vue +++ b/src/pages/Entry/Card/EntryCard.vue @@ -1,6 +1,7 @@ @@ -15,11 +16,8 @@ const stateStore = useStateStore(); - -
- -
-
+ +
diff --git a/src/pages/Entry/EntryCreate.vue b/src/pages/Entry/EntryCreate.vue index 37cfea1ad..d4eb8a3ef 100644 --- a/src/pages/Entry/EntryCreate.vue +++ b/src/pages/Entry/EntryCreate.vue @@ -7,6 +7,7 @@ import FormModel from 'components/FormModel.vue'; import VnRow from 'components/ui/VnRow.vue'; import VnSelectFilter from 'src/components/common/VnSelectFilter.vue'; import FetchData from 'components/FetchData.vue'; +import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue'; import { toDate } from 'src/filters'; @@ -51,11 +52,7 @@ const companiesOptions = ref([]); - -
- -
-
+