|
|
|
@ -403,6 +403,9 @@ class _AppointmentPaymentPageState extends State<AppointmentPaymentPage> {
|
|
|
|
patientAppointmentHistoryResponseModel: widget.patientAppointmentHistoryResponseModel,
|
|
|
|
patientAppointmentHistoryResponseModel: widget.patientAppointmentHistoryResponseModel,
|
|
|
|
onSuccess: (apiResponse) {
|
|
|
|
onSuccess: (apiResponse) {
|
|
|
|
Future.delayed(Duration(milliseconds: 500), () {
|
|
|
|
Future.delayed(Duration(milliseconds: 500), () {
|
|
|
|
|
|
|
|
myAppointmentsViewModel.setIsAppointmentDataToBeLoaded(true);
|
|
|
|
|
|
|
|
myAppointmentsViewModel.initAppointmentsViewModel();
|
|
|
|
|
|
|
|
myAppointmentsViewModel.getPatientAppointments(true, false);
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
Navigator.pushAndRemoveUntil(
|
|
|
|
Navigator.pushAndRemoveUntil(
|
|
|
|
context,
|
|
|
|
context,
|
|
|
|
@ -421,6 +424,9 @@ class _AppointmentPaymentPageState extends State<AppointmentPaymentPage> {
|
|
|
|
isFollowUp: myAppointmentsViewModel.patientAppointmentShareResponseModel!.isFollowup!,
|
|
|
|
isFollowUp: myAppointmentsViewModel.patientAppointmentShareResponseModel!.isFollowup!,
|
|
|
|
onSuccess: (apiResponse) {
|
|
|
|
onSuccess: (apiResponse) {
|
|
|
|
Future.delayed(Duration(milliseconds: 500), () {
|
|
|
|
Future.delayed(Duration(milliseconds: 500), () {
|
|
|
|
|
|
|
|
myAppointmentsViewModel.setIsAppointmentDataToBeLoaded(true);
|
|
|
|
|
|
|
|
myAppointmentsViewModel.initAppointmentsViewModel();
|
|
|
|
|
|
|
|
myAppointmentsViewModel.getPatientAppointments(true, false);
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
Navigator.pushAndRemoveUntil(
|
|
|
|
Navigator.pushAndRemoveUntil(
|
|
|
|
context,
|
|
|
|
context,
|
|
|
|
@ -485,6 +491,8 @@ class _AppointmentPaymentPageState extends State<AppointmentPaymentPage> {
|
|
|
|
patientAppointmentHistoryResponseModel: widget.patientAppointmentHistoryResponseModel,
|
|
|
|
patientAppointmentHistoryResponseModel: widget.patientAppointmentHistoryResponseModel,
|
|
|
|
onSuccess: (apiResponse) {
|
|
|
|
onSuccess: (apiResponse) {
|
|
|
|
Future.delayed(Duration(milliseconds: 500), () {
|
|
|
|
Future.delayed(Duration(milliseconds: 500), () {
|
|
|
|
|
|
|
|
myAppointmentsViewModel.initAppointmentsViewModel();
|
|
|
|
|
|
|
|
myAppointmentsViewModel.getPatientAppointments(true, false);
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
Navigator.pushAndRemoveUntil(
|
|
|
|
Navigator.pushAndRemoveUntil(
|
|
|
|
context,
|
|
|
|
context,
|
|
|
|
@ -503,6 +511,8 @@ class _AppointmentPaymentPageState extends State<AppointmentPaymentPage> {
|
|
|
|
isFollowUp: myAppointmentsViewModel.patientAppointmentShareResponseModel!.isFollowup!,
|
|
|
|
isFollowUp: myAppointmentsViewModel.patientAppointmentShareResponseModel!.isFollowup!,
|
|
|
|
onSuccess: (apiResponse) {
|
|
|
|
onSuccess: (apiResponse) {
|
|
|
|
Future.delayed(Duration(milliseconds: 500), () {
|
|
|
|
Future.delayed(Duration(milliseconds: 500), () {
|
|
|
|
|
|
|
|
myAppointmentsViewModel.initAppointmentsViewModel();
|
|
|
|
|
|
|
|
myAppointmentsViewModel.getPatientAppointments(true, false);
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
Navigator.pushAndRemoveUntil(
|
|
|
|
Navigator.pushAndRemoveUntil(
|
|
|
|
context,
|
|
|
|
context,
|
|
|
|
|