Commit 751e5f95 authored by Phuengton Chummuel's avatar Phuengton Chummuel

correct spelling

parent 09faea45
......@@ -109,7 +109,7 @@ class AppointmentsScreen extends React.Component {
if (this.state.doctor && this.state.date && this.state.time) {
Alert.alert(
'Confrim?',
'Confirm',
'Are you sure to add this appointment?',
[
// { text: 'CANCLE', onPress: () => ToastAndroid.show("Cancled", ToastAndroid.SHORT) },
......
......@@ -115,7 +115,7 @@ class AppCamera extends Component {
Alert.alert(
'Confrim?',
'Confirm',
'ชื่อยา: ' + data.medName + '\nก่อน/หลัง อาหาร: ' + beforeMeal + '\nช่วงเวลา: ' + timePeriod + '\nจำนวน: ' + data.dose,
[
{ text: 'CANCLE', onPress: () => this.setState({ addItemVisible: true }) },
......@@ -154,7 +154,7 @@ class AppCamera extends Component {
const time = data.date.split(':')
Alert.alert(
'Confrim?',
'Confirm',
"Doctor: " + data.doctorName + "\nDate: " + moment(data.date).format("DD MMM YYYY") + "\nTime: " + moment(data.date).format("HH:mm") + "\nPlace: " + data.place,
[
{ text: 'CANCLE', onPress: () => this.setState({ addItemVisible: true }) },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment