Skip to content

Commit

Permalink
feat(*): removed gender from add ubo flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri-Levy committed Jan 1, 2025
1 parent b4f9f7d commit 3b3ec6b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export const ubosFormJsonDefinition = {
'company-ownership-passport-number-input',
'company-ownership-date-of-birth-input',
'company-ownership-nationality-input',
'company-ownership-gender-input',
'company-ownership-country-input',
'company-ownership-city-input',
],
Expand Down Expand Up @@ -176,32 +175,6 @@ export const ubosFormJsonDefinition = {
},
},
},
{
name: 'company-ownership-gender-input',
type: 'json-form:text',
valueDestination: 'gender',
options: {
label: 'text.companyOwnership.gender.label',
hint: 'text.companyOwnership.gender.placeholder',
jsonFormDefinition: {
type: 'string',
oneOf: [
{
title: 'text.companyOwnership.gender.male',
const: 'male',
},
{
title: 'text.companyOwnership.gender.female',
const: 'female',
},
{
title: 'text.companyOwnership.gender.other',
const: 'other',
},
],
},
},
},
{
name: 'company-ownership-country-input',
type: 'json-form:text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ export class CaseManagementService {
passportNumber: ubo.passportNumber,
dateOfBirth: ubo.dateOfBirth,
placeOfBirth: ubo.placeOfBirth,
gender: ubo.gender,
country: ubo.country,
city: ubo.city,
street: ubo.street,
Expand Down

0 comments on commit 3b3ec6b

Please sign in to comment.