refs #7529 fix workerPit
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-09-18 12:08:38 +02:00
parent b2c2f42243
commit 87bce8fc21
3 changed files with 25 additions and 5 deletions

View File

@ -272,6 +272,7 @@ globals:
clientsActionsMonitor: Clients and actions
serial: Serial
medical: Mutual
pit: IRPF
supplier: Supplier
created: Created
worker: Worker

View File

@ -275,6 +275,7 @@ globals:
clientsActionsMonitor: Clientes y acciones
serial: Facturas por serie
medical: Mutua
pit: IRPF
supplier: Proveedor
created: Fecha creación
worker: Trabajador

View File

@ -24,11 +24,7 @@ const toCustomerAddressCreate = () => {
@on-fetch="(data) => (disabilityGradesOptions = data)"
auto-load
/>
<FormModel
:url="`Workers/${route.params.id}/WorkerIrpfs`"
auto-load
model="WorkerIrpf"
>
<FormModel :url="`Workers/${route.params.id}/irpf`" auto-load model="WorkerIrpfs">
<template #form="{ data }">
<VnRow>
<VnInput
@ -95,6 +91,17 @@ const toCustomerAddressCreate = () => {
<QSeparator class="q-mx-lg" vertical />
</template>
</FormModel>
<FormModel
:url="`Workers/${route.params.id}/workerRelative`"
auto-load
model="WorkerRelatives"
>
<VnRow>
<VnInputDate size="sm" v-model="data.birthed" :label="t(`birthed`)" />
<VnInput size="sm" v-model="data.adoptionYear" :label="t(`adoptionYear`)" />
</VnRow>
</FormModel>
</template>
<i18n>
@ -109,4 +116,15 @@ es:
hasHousingPaymentBefore: Pagos vivienda anterior 2011
hasHousingPaymentAfter: Pagos vivienda posterior 2011
hasExtendedWorking: Prolongación actividad laboral
en:
familySituation: Family Situation
disabilityGrades: Disability Grades
geographicMobilityDate: Geographic Mobility Date
childPension: Child Pension
spousePension: Spouse Pension
isDependend: Dependent Support / Reduced Mobility
spouseNif: Spouse NIF (Tax ID)
hasHousingPaymentBefore: Housing Payments Before 2011
hasHousingPaymentAfter: Housing Payments After 2011
hasExtendedWorking: Extended Work Activity
</i18n>