Merge pull request #12659 from kenwest/strip-html-tags-from-joblog-description
[civicrm-core.git] / CRM / Pledge / DAO / PledgePayment.php
index d3f05e4656b9844cdc5326e5d1df7af97f43b4fb..96a641d4459a623176fd0dd64a83189a1ec6d9c8 100644 (file)
@@ -145,7 +145,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'name' => 'pledge_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Pledge'),
-          'description' => 'FK to Pledge table',
+          'description' => ts('FK to Pledge table'),
           'required' => TRUE,
           'table_name' => 'civicrm_pledge_payment',
           'entity' => 'PledgePayment',
@@ -157,7 +157,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'name' => 'contribution_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Contribution'),
-          'description' => 'FK to contribution table.',
+          'description' => ts('FK to contribution table.'),
           'table_name' => 'civicrm_pledge_payment',
           'entity' => 'PledgePayment',
           'bao' => 'CRM_Pledge_BAO_PledgePayment',
@@ -168,7 +168,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'name' => 'scheduled_amount',
           'type' => CRM_Utils_Type::T_MONEY,
           'title' => ts('Scheduled Amount'),
-          'description' => 'Pledged amount for this payment (the actual contribution amount might be different).',
+          'description' => ts('Pledged amount for this payment (the actual contribution amount might be different).'),
           'required' => TRUE,
           'precision' => [
             20,
@@ -188,7 +188,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'name' => 'actual_amount',
           'type' => CRM_Utils_Type::T_MONEY,
           'title' => ts('Actual Amount'),
-          'description' => 'Actual amount that is paid as the Pledged installment amount.',
+          'description' => ts('Actual amount that is paid as the Pledged installment amount.'),
           'precision' => [
             20,
             2
@@ -207,7 +207,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'name' => 'currency',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Currency'),
-          'description' => '3 character string, value from config setting or input via user.',
+          'description' => ts('3 character string, value from config setting or input via user.'),
           'maxlength' => 3,
           'size' => CRM_Utils_Type::FOUR,
           'default' => 'NULL',
@@ -229,7 +229,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'name' => 'scheduled_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Scheduled Date'),
-          'description' => 'The date the pledge payment is supposed to happen.',
+          'description' => ts('The date the pledge payment is supposed to happen.'),
           'required' => TRUE,
           'import' => TRUE,
           'where' => 'civicrm_pledge_payment.scheduled_date',
@@ -245,7 +245,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'name' => 'reminder_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Last Reminder'),
-          'description' => 'The date that the most recent payment reminder was sent.',
+          'description' => ts('The date that the most recent payment reminder was sent.'),
           'import' => TRUE,
           'where' => 'civicrm_pledge_payment.reminder_date',
           'headerPattern' => '',
@@ -260,12 +260,13 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'name' => 'reminder_count',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Reminders Sent'),
-          'description' => 'The number of payment reminders sent.',
+          'description' => ts('The number of payment reminders sent.'),
           'import' => TRUE,
           'where' => 'civicrm_pledge_payment.reminder_count',
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => TRUE,
+          'default' => '0',
           'table_name' => 'civicrm_pledge_payment',
           'entity' => 'PledgePayment',
           'bao' => 'CRM_Pledge_BAO_PledgePayment',