Analytics

merge-update-with-lab-changes
Zohaib Iqbal Kambrani 4 years ago
parent 86363a15d6
commit 29c6841888

@ -181,17 +181,17 @@ class Appointment{
} }
// R049.1 // should be for appointment flow // R049.1 // should be for appointment flow
// appointment_actions(AppoitmentAllHistoryResultList appointment, String action){ appointment_actions(AppoitmentAllHistoryResultList appointment, String action){
// logger('to_do_list_pay_now', parameters: { logger('appointment_actions', parameters: {
// 'action_type' : action, 'action_type' : action,
// 'flow_type' : GAnalytics.APPOINTMENT_DETAIL_FLOW_TYPE, 'flow_type' : GAnalytics.APPOINTMENT_DETAIL_FLOW_TYPE,
// 'appointment_type' : appointment.appointmentType, 'appointment_type' : appointment.appointmentType,
// 'clinic_type_online' : appointment.clinicName, 'clinic_type_online' : appointment.clinicName,
// 'hospital_name' : appointment.projectName, 'hospital_name' : appointment.projectName,
// 'doctor_name' : (appointment.doctorName == null || appointment.doctorName == '') ? appointment.doctorNameObj : appointment.doctorName, 'doctor_name' : (appointment.doctorName == null || appointment.doctorName == '') ? appointment.doctorNameObj : appointment.doctorName,
// 'payment_type' : 'appointment', 'payment_type' : 'appointment',
// }); });
// } }
// R027 // R027
appointment_reminder(bool value){ appointment_reminder(bool value){
@ -232,14 +232,16 @@ class Appointment{
// R036 // R036
payment_success({@required String appointment_type, clinic, hospital, payment_method, payment_type, txn_number, txn_amount, txn_currency}){ payment_success({@required String appointment_type, clinic, hospital, payment_method, payment_type, txn_number, txn_amount, txn_currency}){
// appointment_type logger('payment_success', parameters: {
// clinic_type_online 'appointment_type' : appointment_type,
// payment_method 'payment_method' : payment_method,
// payment_type: 'appointment' 'payment_type' : payment_type,
// hospital_name 'hospital_name' : hospital,
// transaction_number 'clinic_type_online' : clinic,
// transaction_amount 'transaction_number' : txn_number,
// transaction_currency 'transaction_amount' : txn_amount,
'transaction_currency' : txn_currency,
});
} }
@ -260,15 +262,14 @@ class Appointment{
// R053 // R053
// Note : - Payment flow beyond this step are same as listed under Advance Payment section of this document // Note : - Payment flow beyond this step are same as listed under Advance Payment section of this document
appointment_details_cancel({@required AppoitmentAllHistoryResultList appointment}){ appointment_details_cancel({@required AppoitmentAllHistoryResultList appointment}){
logger('appointment_details_cancel', parameters: {
});
}
appointment_cancel(){
logger('cancel_appointment', parameters: { logger('cancel_appointment', parameters: {
'flow_type' : GAnalytics.APPOINTMENT_DETAIL_FLOW_TYPE, 'flow_type' : GAnalytics.APPOINTMENT_DETAIL_FLOW_TYPE,
'appointment_type' : appointment.appointmentType,
'clinic_type_online' : appointment.clinicName,
'hospital_name' : appointment.projectName,
'doctor_name' : (appointment.doctorName == null || appointment.doctorName == '') ? appointment.doctorNameObj : appointment.doctorName,
'payment_type' : 'appointment',
}); });
} }
} }
Loading…
Cancel
Save