Merge pull request 'refs #4644 checkbox añadido' (!1108) from 4644-supplier.fiscal-data into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1108
Reviewed-by: Vicent Llopis <vicent@verdnatura.es>
This commit is contained in:
Alexandre Riera 2022-11-03 08:01:33 +00:00
commit a9bf9fb844
5 changed files with 14 additions and 4 deletions

View File

@ -51,6 +51,9 @@
"isSerious": { "isSerious": {
"type": "boolean" "type": "boolean"
}, },
"isTrucker": {
"type": "boolean"
},
"note": { "note": {
"type": "string" "type": "string"
}, },

View File

@ -41,6 +41,7 @@ class Controller extends Descriptor {
'payDay', 'payDay',
'isActive', 'isActive',
'isSerious', 'isSerious',
'isTrucker',
'account' 'account'
], ],
include: [ include: [

View File

@ -27,6 +27,7 @@ describe('Supplier Component vnSupplierDescriptor', () => {
'payDay', 'payDay',
'isActive', 'isActive',
'isSerious', 'isSerious',
'isTrucker',
'account' 'account'
], ],
include: [ include: [

View File

@ -118,8 +118,6 @@
rule rule
vn-focus> vn-focus>
</vn-textfield> </vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-datalist vn-one <vn-datalist vn-one
label="Postcode" label="Postcode"
ng-model="$ctrl.supplier.postCode" ng-model="$ctrl.supplier.postCode"
@ -144,6 +142,8 @@
</vn-icon-button> </vn-icon-button>
</append> </append>
</vn-datalist> </vn-datalist>
</vn-horizontal>
<vn-horizontal>
<vn-datalist vn-id="town" vn-one <vn-datalist vn-id="town" vn-one
label="City" label="City"
ng-model="$ctrl.supplier.city" ng-model="$ctrl.supplier.city"
@ -159,8 +159,6 @@
({{province.country.country}}) ({{province.country.country}})
</tpl-item> </tpl-item>
</vn-datalist> </vn-datalist>
</vn-horizontal>
<vn-horizontal>
<vn-autocomplete vn-id="province" vn-one <vn-autocomplete vn-id="province" vn-one
label="Province" label="Province"
ng-model="$ctrl.supplier.provinceFk" ng-model="$ctrl.supplier.provinceFk"
@ -172,6 +170,8 @@
rule> rule>
<tpl-item>{{name}} ({{country.country}})</tpl-item> <tpl-item>{{name}} ({{country.country}})</tpl-item>
</vn-autocomplete> </vn-autocomplete>
</vn-horizontal>
<vn-horizontal>
<vn-autocomplete vn-id="country" vn-one <vn-autocomplete vn-id="country" vn-one
ng-model="$ctrl.supplier.countryFk" ng-model="$ctrl.supplier.countryFk"
data="countries" data="countries"
@ -180,6 +180,10 @@
label="Country" label="Country"
rule> rule>
</vn-autocomplete> </vn-autocomplete>
<vn-check
label="Trucker"
ng-model="$ctrl.supplier.isTrucker">
</vn-check>
</vn-horizontal> </vn-horizontal>
</vn-card> </vn-card>
<vn-button-bar> <vn-button-bar>

View File

@ -3,3 +3,4 @@ Sage transaction type: Tipo de transacción Sage
Sage withholding: Retención Sage Sage withholding: Retención Sage
Supplier activity: Actividad proveedor Supplier activity: Actividad proveedor
Healt register: Pasaporte sanitario Healt register: Pasaporte sanitario
Trucker: Transportista