File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ export class WelcomeBack {
4545 region : ENGrid . getFieldValue ( "supporter.region" ) ,
4646 postcode : ENGrid . getFieldValue ( "supporter.postcode" ) ,
4747 country : ENGrid . getFieldValue ( "supporter.country" ) ,
48+ mobilePhone : ENGrid . getFieldValue ( "supporter.phoneNumber2" ) ,
4849 } ;
4950 this . addWelcomeBack ( ) ;
5051 this . addPersonalDetailsSummary ( ) ;
@@ -99,6 +100,9 @@ export class WelcomeBack {
99100 ${ this . supporterDetails [ "firstName" ] } ${ this . supporterDetails [ "lastName" ] }
100101 <br>
101102 ${ this . supporterDetails [ "emailAddress" ] }
103+ ${ this . supporterDetails [ "mobilePhone" ]
104+ ? `<br>${ this . supporterDetails [ "mobilePhone" ] } `
105+ : "" }
102106 </p>
103107 ` ) ;
104108 if ( this . supporterDetails [ "address1" ] &&
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export class WelcomeBack {
4747 region : ENGrid . getFieldValue ( "supporter.region" ) ,
4848 postcode : ENGrid . getFieldValue ( "supporter.postcode" ) ,
4949 country : ENGrid . getFieldValue ( "supporter.country" ) ,
50+ mobilePhone : ENGrid . getFieldValue ( "supporter.phoneNumber2" ) ,
5051 } ;
5152
5253 this . addWelcomeBack ( ) ;
@@ -133,9 +134,16 @@ export class WelcomeBack {
133134 "beforeend" ,
134135 `
135136 <p>
136- ${ this . supporterDetails [ "firstName" ] } ${ this . supporterDetails [ "lastName" ] }
137+ ${ this . supporterDetails [ "firstName" ] } ${
138+ this . supporterDetails [ "lastName" ]
139+ }
137140 <br>
138141 ${ this . supporterDetails [ "emailAddress" ] }
142+ ${
143+ this . supporterDetails [ "mobilePhone" ]
144+ ? `<br>${ this . supporterDetails [ "mobilePhone" ] } `
145+ : ""
146+ }
139147 </p>
140148 `
141149 ) ;
You can’t perform that action at this time.
0 commit comments