This commit is contained in:
2023-09-04 16:13:26 +05:30
parent 6cccbc6697
commit bc15d45173
17 changed files with 339 additions and 71 deletions

View File

@@ -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) -> {