ErnestoOrtiz2 3 years ago
parent
commit
4f47895e77
2 changed files with 8 additions and 6 deletions
  1. 6
    2
      screens/main/Calendar.js
  2. 2
    4
      screens/main/StateTime.js

+ 6
- 2
screens/main/Calendar.js View File

36
             ,Username: this.state.username, I_Username: this.state.I_username});
36
             ,Username: this.state.username, I_Username: this.state.I_username});
37
         }
37
         }
38
         else{
38
         else{
39
-          this.props.navigation.navigate('Map', {Appointment_Date: date._d, int_id : this.state.interpreter_id, 
39
+          this.props.navigation.navigate('Map', {Appointment: date._d, int_id : this.state.interpreter_id, 
40
             Flag: this.state.mapflag, I_Token: this.state.i_token, U_Token: this.state.u_token
40
             Flag: this.state.mapflag, I_Token: this.state.i_token, U_Token: this.state.u_token
41
             ,Username: this.state.username, I_Username: this.state.I_username});
41
             ,Username: this.state.username, I_Username: this.state.I_username});
42
         }
42
         }
70
     backgroundColor: '#FFFFFF',
70
     backgroundColor: '#FFFFFF',
71
     marginTop: 100,
71
     marginTop: 100,
72
   },
72
   },
73
-});
73
+});
74
+
75
+
76
+  
77
+

+ 2
- 4
screens/main/StateTime.js View File

205
     return(
205
     return(
206
       <TouchableWithoutFeedback style={styles.stdcontainer}>
206
       <TouchableWithoutFeedback style={styles.stdcontainer}>
207
         <ImageBackground style={styles.regcontainer} source={require('../../assets/yellow-white.jpg')}>
207
         <ImageBackground style={styles.regcontainer} source={require('../../assets/yellow-white.jpg')}>
208
+          <Text style={styles.time_text}> Select the Start and End Time for the Appointment </Text>
208
         <Button style={styles.cenregbutton} title="8:00am" onPress={() => this.time_set(1,)}/>
209
         <Button style={styles.cenregbutton} title="8:00am" onPress={() => this.time_set(1,)}/>
209
         <Button style={styles.cenregbutton} title="9:00am" onPress={() => this.time_set(2,)}/>
210
         <Button style={styles.cenregbutton} title="9:00am" onPress={() => this.time_set(2,)}/>
210
         <Button style={styles.cenregbutton} title="10:00am" onPress={() => this.time_set(3,)}/>
211
         <Button style={styles.cenregbutton} title="10:00am" onPress={() => this.time_set(3,)}/>
212
         <Button style={styles.cenregbutton} title="12:00pm" onPress={() => this.time_set(5,)}/>
213
         <Button style={styles.cenregbutton} title="12:00pm" onPress={() => this.time_set(5,)}/>
213
         <Button style={styles.cenregbutton} title="1:00pm" onPress={() => this.time_set(6,)}/>
214
         <Button style={styles.cenregbutton} title="1:00pm" onPress={() => this.time_set(6,)}/>
214
         <Button style={styles.cenregbutton} title="2:00pm" onPress={() => this.time_set(7,)}/>
215
         <Button style={styles.cenregbutton} title="2:00pm" onPress={() => this.time_set(7,)}/>
215
-        <Button style={styles.cenregbutton} title="Request Appointment" onPress={() => this.time_assignment()}/>
216
+        <Button style={styles.regbutton} title="Request Appointment" onPress={() => this.time_assignment()}/>
216
         </ImageBackground>
217
         </ImageBackground>
217
       </TouchableWithoutFeedback>
218
       </TouchableWithoutFeedback>
218
     );
219
     );
219
-  }
220
-}
221
-
222
 
220