Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
294148ec
Commit
294148ec
authored
Jun 07, 2021
by
Hamza HRAMCHI
Browse files
FIX #16956 TIME 0:05 auto phone replacement for shortcut
parent
75c69f50
Changes
1
Show whitespace changes
Inline
Side-by-side
src/frontend/app/visa/externalVisaWorkflow/createExternalUser/create-external-user.component.ts
View file @
294148ec
...
@@ -158,8 +158,8 @@ export class CreateExternalUserComponent implements OnInit {
...
@@ -158,8 +158,8 @@ export class CreateExternalUserComponent implements OnInit {
}
}
}
}
formatPhone
(
item
:
any
)
{
formatPhone
()
{
if
(
item
.
length
>
1
&&
item
[
0
]
===
'
0
'
)
{
if
(
this
.
userOTP
.
phone
.
length
>
1
&&
this
.
userOTP
.
phone
[
0
]
===
'
0
'
)
{
this
.
userOTP
.
phone
=
this
.
userOTP
.
phone
.
replace
(
'
0
'
,
'
+33
'
);
this
.
userOTP
.
phone
=
this
.
userOTP
.
phone
.
replace
(
'
0
'
,
'
+33
'
);
}
}
}
}
...
@@ -230,6 +230,7 @@ export class CreateExternalUserComponent implements OnInit {
...
@@ -230,6 +230,7 @@ export class CreateExternalUserComponent implements OnInit {
this
.
userOTP
.
lastname
=
item
.
lastname
;
this
.
userOTP
.
lastname
=
item
.
lastname
;
this
.
userOTP
.
email
=
item
.
email
;
this
.
userOTP
.
email
=
item
.
email
;
this
.
userOTP
.
phone
=
item
.
phone
;
this
.
userOTP
.
phone
=
item
.
phone
;
this
.
formatPhone
();
}
}
getRegexPhone
()
{
getRegexPhone
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment