- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
private void newCheckInOrOut() {
if (deviceGPScoordinates != null) {
if (!savedData.getCheckInStatus()) {
if (deviceGPScoordinates != null && !savedData.getCheckInStatus()) {
checkInEmployee();
}
else if (deviceGPScoordinates != null) {
checkoutEmployee();
}
else {
Toast.makeText(getActivity(), FAILED_TO_LOCATE_DEVICE,
Toast.LENGTH_LONG).show();
}
}
else {
confirm(place.getPlaceName(), 0);
}
}
else{
if (!savedData.getCheckInStatus()) {
checkInEmployeeWithoutGPS();
}
else {
confirm(place.getPlaceName(), 1);
}
}
}
guest 28.08.2015 18:42 # 0
guest 28.08.2015 22:50 # 0
dematomCom 14.09.2015 16:35 # 0
krokozyabr 29.08.2015 00:33 # 0