|
|
|
@ -184,24 +184,24 @@ class InsurancePage extends StatelessWidget {
|
|
|
|
|
void updateManually(BuildContext context, String errorMsg, String patientIdentificationID, int patientID, String mobileNumber) {
|
|
|
|
|
ConfirmDialog dialog = new ConfirmDialog(
|
|
|
|
|
context: context,
|
|
|
|
|
confirmMessage: errorMsg + ". " + TranslationBase.of(context).habibCallCenter,
|
|
|
|
|
okText: TranslationBase.of(context).ok,
|
|
|
|
|
cancelText: TranslationBase.of(context).cancel,
|
|
|
|
|
// confirmMessage: errorMsg + ". " + TranslationBase.of(context).updateInsuranceManuallyDialog,
|
|
|
|
|
// okText: TranslationBase.of(context).yes,
|
|
|
|
|
// cancelText: TranslationBase.of(context).no,
|
|
|
|
|
// confirmMessage: errorMsg + ". " + TranslationBase.of(context).habibCallCenter,
|
|
|
|
|
// okText: TranslationBase.of(context).ok,
|
|
|
|
|
// cancelText: TranslationBase.of(context).cancel,
|
|
|
|
|
confirmMessage: errorMsg + ". " + TranslationBase.of(context).updateInsuranceManuallyDialog,
|
|
|
|
|
okText: TranslationBase.of(context).yes,
|
|
|
|
|
cancelText: TranslationBase.of(context).no,
|
|
|
|
|
okFunction: () => {
|
|
|
|
|
Navigator.pop(context),
|
|
|
|
|
// Navigator.push(
|
|
|
|
|
// context,
|
|
|
|
|
// FadePage(
|
|
|
|
|
// page: UpdateInsuranceManually(
|
|
|
|
|
// patientIdentificationNo: patientIdentificationID,
|
|
|
|
|
// patientID: patientID,
|
|
|
|
|
// patientMobileNumber: mobileNumber,
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
page: UpdateInsuranceManually(
|
|
|
|
|
patientIdentificationNo: patientIdentificationID,
|
|
|
|
|
patientID: patientID,
|
|
|
|
|
patientMobileNumber: mobileNumber,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
|
cancelFunction: () => {});
|
|
|
|
|
dialog.showAlertDialog(context);
|
|
|
|
|