WIP Исправлены проверки
This commit is contained in:
@@ -147,11 +147,11 @@ const getters = {
|
||||
);
|
||||
return {
|
||||
passport: {
|
||||
id: passport?.id,
|
||||
series: passport?.series,
|
||||
number: passport?.number,
|
||||
issued_by_org: passport?.issued_by_org,
|
||||
issued_by_org_code: passport?.issued_by_org_code,
|
||||
id: passport?.id ?? "",
|
||||
series: passport?.series ?? "",
|
||||
number: passport?.number ?? "",
|
||||
issued_by_org: passport?.issued_by_org ?? "",
|
||||
issued_by_org_code: passport?.issued_by_org_code ?? "",
|
||||
issued_by_date: passport?.issued_by_date
|
||||
? new Date(passport?.issued_by_date)
|
||||
: null,
|
||||
@@ -163,7 +163,7 @@ const getters = {
|
||||
: {},
|
||||
},
|
||||
insurance_number: {
|
||||
insurance_number: person?.insurance_number,
|
||||
insurance_number: person?.insurance_number ?? "",
|
||||
photo_insurance_number: person?.photo_insurance_number
|
||||
? {
|
||||
photo: rootState.getUrl + person.photo_insurance_number,
|
||||
@@ -172,7 +172,7 @@ const getters = {
|
||||
: {},
|
||||
},
|
||||
tax_identification_number: {
|
||||
tax_identification_number: person?.tax_identification_number,
|
||||
tax_identification_number: person?.tax_identification_number ?? "",
|
||||
photo_tax_identification_number: person?.photo_tax_identification_number
|
||||
? {
|
||||
photo: rootState.getUrl + person?.photo_tax_identification_number,
|
||||
|
||||
Reference in New Issue
Block a user