dev_3.3_AmbulanceRequestCR
haroon amjad 2 years ago
parent 7c426b90e5
commit b579e494c1

@ -133,32 +133,32 @@ class _AttachInsuranceCardImageDialogState extends State<AttachInsuranceCardImag
Padding( Padding(
padding: const EdgeInsets.all(18.0), padding: const EdgeInsets.all(18.0),
child: child:
// Text(TranslationBase.of(context).habibCallCenter, Text(TranslationBase.of(context).habibCallCenter,
// style: TextStyle( style: TextStyle(
// fontSize: 16, fontSize: 16,
// letterSpacing: -0.48, letterSpacing: -0.48,
// fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
// ), ),
// ),
DefaultButton(
TranslationBase.of(context).updateInsuranceManually,
() {
Navigator.pop(context);
Navigator.push(
context,
FadePage(
page: UpdateInsuranceManually(
patientIdentificationNo: widget.identificationNo,
patientMobileNumber: widget.mobileNo,
patientID: num.parse(widget.fileNo),
),
),
);
},
textColor: Colors.white,
color: CustomColors.accentColor,
), ),
// DefaultButton(
// TranslationBase.of(context).updateInsuranceManually,
// () {
// Navigator.pop(context);
// Navigator.push(
// context,
// FadePage(
// page: UpdateInsuranceManually(
// patientIdentificationNo: widget.identificationNo,
// patientMobileNumber: widget.mobileNo,
// patientID: num.parse(widget.fileNo),
// ),
// ),
// );
// },
// textColor: Colors.white,
// color: CustomColors.accentColor,
// ),
), ),
SizedBox( SizedBox(
height: 25.0, height: 25.0,

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

Loading…
Cancel
Save