Merge pull request 'fix: refs #7943 use summary' (!873) from 7943-fixWorker into dev
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #873
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Jorge Penadés 2024-10-25 09:54:14 +00:00
commit 1b05a5173d
3 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ import WorkerFilter from '../WorkerFilter.vue';
<template>
<VnCard
data-key="Worker"
base-url="Workers"
custom-url="Workers/summary"
:descriptor="WorkerDescriptor"
:filter-panel="WorkerFilter"
search-data-key="WorkerList"

View File

@ -45,7 +45,7 @@ onBeforeMount(async () => {
ref="summary"
:url="`Workers/summary`"
:filter="{ where: { id: entityId } }"
data-key="WorkerSummary"
data-key="Worker"
>
<template #header="{ entity }">
<div>{{ entity.id }} - {{ entity.firstName }} {{ entity.lastName }}</div>

View File

@ -169,7 +169,7 @@ async function autofillBic(worker) {
</script>
<template>
<VnSearchbar
data-key="Worker"
data-key="WorkerList"
:label="t('Search worker')"
:info="t('You can search by worker id or name')"
/>
@ -191,13 +191,13 @@ async function autofillBic(worker) {
/>
<RightMenu>
<template #right-panel>
<WorkerFilter data-key="Worker" />
<WorkerFilter data-key="WorkerList" />
</template>
</RightMenu>
<VnTable
v-if="defaultPayMethod"
ref="tableRef"
data-key="Worker"
data-key="WorkerList"
url="Workers/filter"
:create="{
urlCreate: 'Workers/new',