Esempio n. 1
0
def generate_delivery_feedback_report(user, host_name, deliveries_feedback):
    csv_export_service = DeliveryFeedbackReportExporter(host_name)
    CSVExportService.generate(csv_export_service.assemble_csv_data(deliveries_feedback),
                              csv_export_service.export_category,
                              csv_export_service.get_export_csv_file_name())

    CSVExportService.notify(user, *csv_export_service.notification_details())
Esempio n. 2
0
def generate_delivery_feedback_report(user, host_name, deliveries_feedback):
    deliveries_feedback_with_contact = map(set_remote_contact_to_report_item, deliveries_feedback)
    csv_export_service = DeliveryFeedbackReportExporter(host_name)

    CSVExportService.generate(csv_export_service.assemble_csv_data(deliveries_feedback_with_contact),
                              csv_export_service.export_category,
                              csv_export_service.get_export_csv_file_name())

    CSVExportService.notify(user, *csv_export_service.notification_details())
Esempio n. 3
0
def generate_delivery_feedback_report(user, host_name, deliveries_feedback):
    deliveries_feedback_with_contact = map(set_remote_contact_to_report_item, deliveries_feedback)
    csv_export_service = DeliveryFeedbackReportExporter(host_name)

    CSVExportService.generate(csv_export_service.assemble_csv_data(deliveries_feedback_with_contact),
                              csv_export_service.export_category,
                              csv_export_service.get_export_csv_file_name())

    CSVExportService.notify(user, *csv_export_service.notification_details())