File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -981,6 +981,12 @@ export class UserauthService {
981
981
tableFields . push ( 'user_id' ) ;
982
982
}
983
983
984
+ if ( tableName === 'users' ) {
985
+ if ( typeof value ?. alternative_mobile_number === 'string' ) {
986
+ value . alternative_mobile_number = null ;
987
+ }
988
+ }
989
+
984
990
if ( tableName == 'program_faciltators' ) {
985
991
//console.log('vlaues-->>', value);
986
992
@@ -1000,6 +1006,12 @@ export class UserauthService {
1000
1006
if ( tableName == 'references' ) {
1001
1007
value . context_id = user_id ;
1002
1008
tableFields . push ( 'context_id' ) ;
1009
+ value . context = 'users' ;
1010
+ tableFields . push ( 'context' ) ;
1011
+ value . program_id = program_id ;
1012
+ value . academic_year_id = academic_year_id ;
1013
+ tableFields . push ( 'program_id' ) ;
1014
+ tableFields . push ( 'academic_year_id' ) ;
1003
1015
}
1004
1016
1005
1017
if ( tableName == 'qualifications' ) {
You can’t perform that action at this time.
0 commit comments