.
This commit is contained in:
@@ -146,11 +146,21 @@ public class RegisterCompleteFragment extends Fragment implements ProfileContrac
|
||||
progressDialog.dismiss();
|
||||
|
||||
if (patientData.isCareGiverConnectedWithPatient == 1) {
|
||||
gotoPatientDashBoard();
|
||||
if (patientData.isCaregiverTakeSubscription == 1){
|
||||
gotoPatientDashBoard();
|
||||
}else{
|
||||
AppUtil.showAlert(requireContext(),
|
||||
"Ask Caregiver to Subscribe",
|
||||
"Kindly ask CareGiver to complete SimpliTend subscription.",
|
||||
"OK",
|
||||
((dialogInterface, i) -> {
|
||||
|
||||
}), null, null);
|
||||
}
|
||||
} else {
|
||||
AppUtil.showAlert(requireContext(),
|
||||
"Ask Caregiver to register",
|
||||
"Kindly ask CareGiver to complete registeration.",
|
||||
"Kindly ask CareGiver to complete registration.",
|
||||
"OK",
|
||||
((dialogInterface, i) -> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user