refactor(customerAddress): refs #7527 is popup remove /create /edit #1695

Closed
alexm wants to merge 13 commits from 7527-notCreatePaths into dev
1 changed files with 28 additions and 0 deletions
Showing only changes of commit 9d92c4c178 - Show all commits

View File

@ -0,0 +1,28 @@
<script setup>
import { useI18n } from 'vue-i18n';
import VnDmsList from 'src/components/common/VnDmsList.vue';
import { useArrayData } from 'src/composables/useArrayData';
const arrayData = useArrayData('Customer');
const { t } = useI18n();
</script>
<template>
<VnDmsList
v-if="arrayData?.store?.data"
model="ClientDms"
update-model="Clients"
default-dms-code="paymentsLaw"
filter="clientFk"
:description="
t('ClientFileDescription', {
clientId: $route.params.id,
clientName: arrayData.store.data.socialName,
})
"
/>
</template>
<i18n>
en:
ClientFileDescription: Payment law from client {clientName} ID {clientId}
es:
ClientFileDescription: Ley de pagos del cliente {clientName} ID {clientId}
</i18n>