X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FPledge%2FDAO%2FPledgePayment.php;h=96a641d4459a623176fd0dd64a83189a1ec6d9c8;hb=e79f71cd891df496f918e1d95963b0e19a0ea775;hp=d3f05e4656b9844cdc5326e5d1df7af97f43b4fb;hpb=b94eea5170f9b25e817067941198129b5de3224c;p=civicrm-core.git diff --git a/CRM/Pledge/DAO/PledgePayment.php b/CRM/Pledge/DAO/PledgePayment.php index d3f05e4656..96a641d445 100644 --- a/CRM/Pledge/DAO/PledgePayment.php +++ b/CRM/Pledge/DAO/PledgePayment.php @@ -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',