@ -184,19 +184,21 @@ 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 ) . updateInsuranceManuallyDialog ,
confirmMessage: errorMsg + " . " + TranslationBase . of ( context ) . habibCallCenter ,
okText: TranslationBase . of ( context ) . yes ,
okText: TranslationBase . of ( context ) . ok ,
cancelText: TranslationBase . of ( context ) . no ,
cancelText: TranslationBase . of ( context ) . cancel ,
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 ) ;