refs #5768 add address, nickname, pdf, email
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2023-10-05 14:01:07 +02:00
parent f2adbc1716
commit 5b6eb0a2a6
7 changed files with 29 additions and 5 deletions

View File

@ -33,6 +33,12 @@ module.exports = Self => {
type: 'number',
description: 'The company id',
required: true
},
{
arg: 'addressId',
type: 'number',
description: 'The address id',
required: true
}
],
returns: {

View File

@ -21,6 +21,12 @@ module.exports = Self => {
type: 'number',
description: 'The company id',
required: true
},
{
arg: 'addressId',
type: 'number',
description: 'The address id',
required: true
}
],
returns: [

View File

@ -21,6 +21,12 @@ module.exports = Self => {
type: 'number',
description: 'The company id',
required: true
},
{
arg: 'addressId',
type: 'number',
description: 'The address id',
required: true
}
],
returns: [

View File

@ -71,6 +71,7 @@
required="true">
</vn-autocomplete>
<vn-autocomplete
ng-if="sampleType.selection.id == 20"
vn-one
required="true"
data="$ctrl.addresses"

View File

@ -28,6 +28,10 @@ module.exports = {
companyId: {
type: Number,
required: true
},
addressId: {
type: Number,
required: true
}
}
};

View File

@ -3,16 +3,16 @@
<div class="grid-block">
<p
v-html="$t('description', {
socialName: client.socialName,
socialName: address.nickname,
name: client.name,
addressId: address.street,
address: address.street,
country: client.country,
fiscalID: client.fi
})"
></p>
<p
v-html="$t('declaration', {
socialName: client.socialName
socialName: address.nickname
})"
></p>
<p
@ -20,7 +20,7 @@
v-html="$t('declarations[' + $index + ']', {
companyName: company.name,
companyCity: company.city,
socialName: client.socialName,
socialName: address.nickname,
destinationCountry: client.country
})"
></p>

View File

@ -20,7 +20,8 @@ module.exports = {
required: true
},
addressId: {
type: Number
type: Number,
required: true
}
}
};