From 2c2c4aa4fb2555ec3ceb089d326a648c135c5dbd Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 28 Oct 2019 10:42:20 +1300 Subject: [PATCH] Add date information to MailingJob Schema --- CRM/Case/DAO/Case.php | 2 +- CRM/Mailing/DAO/MailingJob.php | 14 +++++++++++++- xml/schema/Mailing/MailingJob.xml | 12 ++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/CRM/Case/DAO/Case.php b/CRM/Case/DAO/Case.php index d1fbdc8cf8..c60cc3da40 100644 --- a/CRM/Case/DAO/Case.php +++ b/CRM/Case/DAO/Case.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Case/Case.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c5896e4b577b32d8a2c62d3cba65119d) + * (GenCodeChecksum:4fa22b57b48574c5e6643b13964140d4) */ /** diff --git a/CRM/Mailing/DAO/MailingJob.php b/CRM/Mailing/DAO/MailingJob.php index 265dca6c9f..6ed6c8cb10 100644 --- a/CRM/Mailing/DAO/MailingJob.php +++ b/CRM/Mailing/DAO/MailingJob.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/MailingJob.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c1fc45fd2cf5bcc6cdfafb15b3aaf840) + * (GenCodeChecksum:5660cdd4b71d1c0b93da6a4a1904deb2) */ /** @@ -171,6 +171,10 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'entity' => 'MailingJob', 'bao' => 'CRM_Mailing_BAO_MailingJob', 'localizable' => 0, + 'html' => [ + 'type' => 'Select Date', + 'formatType' => 'activityDateTime', + ], ], 'mailing_job_start_date' => [ 'name' => 'start_date', @@ -185,6 +189,10 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'bao' => 'CRM_Mailing_BAO_MailingJob', 'localizable' => 0, 'unique_title' => ts('Mailing Start Date'), + 'html' => [ + 'type' => 'Select Date', + 'formatType' => 'activityDateTime', + ], ], 'end_date' => [ 'name' => 'end_date', @@ -198,6 +206,10 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'entity' => 'MailingJob', 'bao' => 'CRM_Mailing_BAO_MailingJob', 'localizable' => 0, + 'html' => [ + 'type' => 'Select Date', + 'formatType' => 'activityDateTime', + ], ], 'status' => [ 'name' => 'status', diff --git a/xml/schema/Mailing/MailingJob.xml b/xml/schema/Mailing/MailingJob.xml index d1ec1f8c76..430d91594d 100644 --- a/xml/schema/Mailing/MailingJob.xml +++ b/xml/schema/Mailing/MailingJob.xml @@ -36,6 +36,10 @@ NULL false date on which this job was scheduled. + + Select Date + activityDateTime + start_date @@ -46,6 +50,10 @@ NULL false date on which this job was started. + + Select Date + activityDateTime + end_date @@ -54,6 +62,10 @@ NULL false date on which this job ended. + + Select Date + activityDateTime + status -- 2.25.1