|
|
|
|
@ -154,26 +154,26 @@ class PaymentService extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
medical.add(
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
if(projectViewModel.isPatientAdmitted) {
|
|
|
|
|
getInPatientAdvancePaymentRequests(context);
|
|
|
|
|
projectViewModel.analytics.advancePayments.payment_services(service_type: 'inpatient advance payment');
|
|
|
|
|
} else {
|
|
|
|
|
AppToast.showErrorToast(message: TranslationBase.of(context).onlyAdmitted);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
child: MedicalProfileItem(
|
|
|
|
|
title: "InPatient",
|
|
|
|
|
imagePath: 'assets/images/inpatient_advance.png',
|
|
|
|
|
subTitle: "Advance Payment",
|
|
|
|
|
isPngImage: true,
|
|
|
|
|
width: 45.0,
|
|
|
|
|
height: 45.0,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
// medical.add(
|
|
|
|
|
// InkWell(
|
|
|
|
|
// onTap: () {
|
|
|
|
|
// if(projectViewModel.isPatientAdmitted) {
|
|
|
|
|
// getInPatientAdvancePaymentRequests(context);
|
|
|
|
|
// projectViewModel.analytics.advancePayments.payment_services(service_type: 'inpatient advance payment');
|
|
|
|
|
// } else {
|
|
|
|
|
// AppToast.showErrorToast(message: TranslationBase.of(context).onlyAdmitted);
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
// child: MedicalProfileItem(
|
|
|
|
|
// title: "InPatient",
|
|
|
|
|
// imagePath: 'assets/images/inpatient_advance.png',
|
|
|
|
|
// subTitle: "Advance Payment",
|
|
|
|
|
// isPngImage: true,
|
|
|
|
|
// width: 45.0,
|
|
|
|
|
// height: 45.0,
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
|
|
return medical;
|
|
|
|
|
}
|
|
|
|
|
|