From 67fa4d56edbd9d0397c0ea300df45590fbf13bd5 Mon Sep 17 00:00:00 2001
From: Eileen McNaughton
Date: Sat, 7 May 2022 14:36:50 +1200
Subject: [PATCH] [Import] Reduce unused copy & paste
Unlike the CONFLICT return code the NO_MATCH code IS returned
- but ONLY in the contact import - in all the other imports
it is there by the virtue of copy & paste
---
CRM/Activity/Import/Form/Preview.php | 9 ---------
CRM/Activity/Import/Form/Summary.php | 10 ++--------
CRM/Contribute/Import/Form/Preview.php | 9 ---------
CRM/Contribute/Import/Form/Summary.php | 9 +--------
CRM/Custom/Import/Form/Preview.php | 9 ---------
CRM/Event/Import/Form/Preview.php | 9 ---------
CRM/Event/Import/Form/Summary.php | 9 +--------
CRM/Member/Import/Form/Preview.php | 9 ---------
CRM/Member/Import/Form/Summary.php | 10 ++--------
.../CRM/Activity/Import/Form/Summary.tpl | 20 -------------------
.../CRM/Contribute/Import/Form/Summary.tpl | 19 ------------------
templates/CRM/Event/Import/Form/Summary.tpl | 20 -------------------
templates/CRM/Member/Import/Form/Summary.tpl | 20 -------------------
13 files changed, 6 insertions(+), 156 deletions(-)
diff --git a/CRM/Activity/Import/Form/Preview.php b/CRM/Activity/Import/Form/Preview.php
index e991b978e0..09e5bf2791 100644
--- a/CRM/Activity/Import/Form/Preview.php
+++ b/CRM/Activity/Import/Form/Preview.php
@@ -29,7 +29,6 @@ class CRM_Activity_Import_Form_Preview extends CRM_Import_Form_Preview {
$dataValues = $this->get('dataValues');
$mapper = $this->get('mapper');
$invalidRowCount = $this->get('invalidRowCount');
- $mismatchCount = $this->get('unMatchCount');
// Get the mapping name displayed if the mappingId is set.
$mappingId = $this->get('loadMappingId');
@@ -45,11 +44,6 @@ class CRM_Activity_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
- if ($mismatchCount) {
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Activity_Import_Parser_Activity';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- }
-
$properties = [
'mapper',
'dataValues',
@@ -58,7 +52,6 @@ class CRM_Activity_Import_Form_Preview extends CRM_Import_Form_Preview {
'validRowCount',
'invalidRowCount',
'downloadErrorRecordsUrl',
- 'downloadMismatchRecordsUrl',
];
$this->setStatusUrl();
@@ -130,8 +123,6 @@ class CRM_Activity_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('errorFile', $errorFile);
$urlParams = 'type=' . CRM_Import_Parser::ERROR . '&parser=CRM_Activity_Import_Parser_Activity';
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Activity_Import_Parser_Activity';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
}
diff --git a/CRM/Activity/Import/Form/Summary.php b/CRM/Activity/Import/Form/Summary.php
index a4c9b66e97..a743510946 100644
--- a/CRM/Activity/Import/Form/Summary.php
+++ b/CRM/Activity/Import/Form/Summary.php
@@ -35,15 +35,11 @@ class CRM_Activity_Import_Form_Summary extends CRM_Import_Form_Summary {
$invalidRowCount = $this->get('invalidRowCount');
$duplicateRowCount = $this->get('duplicateRowCount');
$onDuplicate = $this->get('onDuplicate');
- $mismatchCount = $this->get('unMatchCount');
+
if ($duplicateRowCount > 0) {
$urlParams = 'type=' . CRM_Import_Parser::DUPLICATE . '&parser=CRM_Activity_Import_Parser_Activity';
$this->set('downloadDuplicateRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
- elseif ($mismatchCount) {
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Activity_Import_Parser_Activity';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- }
else {
$duplicateRowCount = 0;
$this->set('duplicateRowCount', $duplicateRowCount);
@@ -67,7 +63,7 @@ class CRM_Activity_Import_Form_Summary extends CRM_Import_Form_Summary {
// Only subtract dupes from successful import if we're skipping.
$this->set('validRowCount', $totalRowCount - $invalidRowCount -
- $duplicateRowCount - $mismatchCount
+ $duplicateRowCount
);
}
$this->assign('dupeActionString', $dupeActionString);
@@ -79,9 +75,7 @@ class CRM_Activity_Import_Form_Summary extends CRM_Import_Form_Summary {
'downloadErrorRecordsUrl',
'duplicateRowCount',
'downloadDuplicateRecordsUrl',
- 'downloadMismatchRecordsUrl',
'groupAdditions',
- 'unMatchCount',
];
foreach ($properties as $property) {
$this->assign($property, $this->get($property));
diff --git a/CRM/Contribute/Import/Form/Preview.php b/CRM/Contribute/Import/Form/Preview.php
index 6640b01d19..97b6450881 100644
--- a/CRM/Contribute/Import/Form/Preview.php
+++ b/CRM/Contribute/Import/Form/Preview.php
@@ -31,7 +31,6 @@ class CRM_Contribute_Import_Form_Preview extends CRM_Import_Form_Preview {
$softCreditFields = $this->get('softCreditFields');
$mapperSoftCreditType = $this->get('mapperSoftCreditType');
$invalidRowCount = $this->get('invalidRowCount');
- $mismatchCount = $this->get('unMatchCount');
//get the mapping name displayed if the mappingId is set
$mappingId = $this->get('loadMappingId');
@@ -47,11 +46,6 @@ class CRM_Contribute_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
- if ($mismatchCount) {
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Contribute_Import_Parser_Contribution';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- }
-
$properties = [
'mapper',
'softCreditFields',
@@ -62,7 +56,6 @@ class CRM_Contribute_Import_Form_Preview extends CRM_Import_Form_Preview {
'validRowCount',
'invalidRowCount',
'downloadErrorRecordsUrl',
- 'downloadMismatchRecordsUrl',
];
$this->setStatusUrl();
@@ -143,8 +136,6 @@ class CRM_Contribute_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('errorFile', $errorFile);
$urlParams = 'type=' . CRM_Import_Parser::ERROR . '&parser=CRM_Contribute_Import_Parser_Contribution';
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Contribute_Import_Parser_Contribution';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
}
diff --git a/CRM/Contribute/Import/Form/Summary.php b/CRM/Contribute/Import/Form/Summary.php
index b1fc36d05c..968c3ba49b 100644
--- a/CRM/Contribute/Import/Form/Summary.php
+++ b/CRM/Contribute/Import/Form/Summary.php
@@ -47,15 +47,10 @@ class CRM_Contribute_Import_Form_Summary extends CRM_Import_Form_Summary {
$validPledgePaymentRowCount = $this->get('validPledgePaymentRowCount');
$duplicateRowCount = $this->get('duplicateRowCount');
$onDuplicate = $this->get('onDuplicate');
- $mismatchCount = $this->get('unMatchCount');
if ($duplicateRowCount > 0) {
$urlParams = 'type=' . CRM_Import_Parser::DUPLICATE . '&parser=CRM_Contribute_Import_Parser_Contribution';
$this->set('downloadDuplicateRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
- elseif ($mismatchCount) {
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Contribute_Import_Parser_Contribution';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- }
else {
$duplicateRowCount = 0;
$this->set('duplicateRowCount', $duplicateRowCount);
@@ -79,7 +74,7 @@ class CRM_Contribute_Import_Form_Summary extends CRM_Import_Form_Summary {
/* only subtract dupes from successful import if we're skipping */
$this->set('validRowCount', $totalRowCount - $invalidRowCount -
- $duplicateRowCount - $mismatchCount - $invalidSoftCreditRowCount - $invalidPledgePaymentRowCount
+ $duplicateRowCount - $invalidSoftCreditRowCount - $invalidPledgePaymentRowCount
);
}
$this->assign('dupeActionString', $dupeActionString);
@@ -93,9 +88,7 @@ class CRM_Contribute_Import_Form_Summary extends CRM_Import_Form_Summary {
'downloadErrorRecordsUrl',
'duplicateRowCount',
'downloadDuplicateRecordsUrl',
- 'downloadMismatchRecordsUrl',
'groupAdditions',
- 'unMatchCount',
'validPledgePaymentRowCount',
'invalidPledgePaymentRowCount',
'downloadPledgePaymentErrorRecordsUrl',
diff --git a/CRM/Custom/Import/Form/Preview.php b/CRM/Custom/Import/Form/Preview.php
index b917b928e1..6bee78ad9f 100644
--- a/CRM/Custom/Import/Form/Preview.php
+++ b/CRM/Custom/Import/Form/Preview.php
@@ -18,7 +18,6 @@ class CRM_Custom_Import_Form_Preview extends CRM_Import_Form_Preview {
$dataValues = $this->get('dataValues');
$mapper = $this->get('mapper');
$invalidRowCount = $this->get('invalidRowCount');
- $mismatchCount = $this->get('unMatchCount');
$entity = $this->get('_entity');
//get the mapping name displayed if the mappingId is set
@@ -35,11 +34,6 @@ class CRM_Custom_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
- if ($mismatchCount) {
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . $this->_importParserUrl;
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- }
-
$properties = [
'mapper',
'dataValues',
@@ -48,7 +42,6 @@ class CRM_Custom_Import_Form_Preview extends CRM_Import_Form_Preview {
'validRowCount',
'invalidRowCount',
'downloadErrorRecordsUrl',
- 'downloadMismatchRecordsUrl',
];
foreach ($properties as $property) {
@@ -119,8 +112,6 @@ class CRM_Custom_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('errorFile', $errorFile);
$urlParams = 'type=' . CRM_Import_Parser::ERROR . $this->_importParserUrl;
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . $this->_importParserUrl;
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
}
diff --git a/CRM/Event/Import/Form/Preview.php b/CRM/Event/Import/Form/Preview.php
index 79a76fde22..b5e0320d1f 100644
--- a/CRM/Event/Import/Form/Preview.php
+++ b/CRM/Event/Import/Form/Preview.php
@@ -33,7 +33,6 @@ class CRM_Event_Import_Form_Preview extends CRM_Import_Form_Preview {
$dataValues = $this->get('dataValues');
$mapper = $this->get('mapper');
$invalidRowCount = $this->get('invalidRowCount');
- $mismatchCount = $this->get('unMatchCount');
//get the mapping name displayed if the mappingId is set
$mappingId = $this->get('loadMappingId');
@@ -49,11 +48,6 @@ class CRM_Event_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
- if ($mismatchCount) {
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Event_Import_Parser_Participant';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- }
-
$properties = [
'mapper',
'dataValues',
@@ -62,7 +56,6 @@ class CRM_Event_Import_Form_Preview extends CRM_Import_Form_Preview {
'validRowCount',
'invalidRowCount',
'downloadErrorRecordsUrl',
- 'downloadMismatchRecordsUrl',
];
foreach ($properties as $property) {
@@ -132,8 +125,6 @@ class CRM_Event_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('errorFile', $errorFile);
$urlParams = 'type=' . CRM_Import_Parser::ERROR . '&parser=CRM_Event_Import_Parser_Participant';
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Event_Import_Parser_Participant';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
}
diff --git a/CRM/Event/Import/Form/Summary.php b/CRM/Event/Import/Form/Summary.php
index 6184807db9..6bb1aec888 100644
--- a/CRM/Event/Import/Form/Summary.php
+++ b/CRM/Event/Import/Form/Summary.php
@@ -37,15 +37,10 @@ class CRM_Event_Import_Form_Summary extends CRM_Import_Form_Summary {
$invalidRowCount = $this->get('invalidRowCount');
$duplicateRowCount = $this->get('duplicateRowCount');
$onDuplicate = $this->get('onDuplicate');
- $mismatchCount = $this->get('unMatchCount');
if ($duplicateRowCount > 0) {
$urlParams = 'type=' . CRM_Import_Parser::DUPLICATE . '&parser=CRM_Event_Import_Parser_Participant';
$this->set('downloadDuplicateRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
- elseif ($mismatchCount) {
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Event_Import_Parser_Participant';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- }
else {
$duplicateRowCount = 0;
$this->set('duplicateRowCount', $duplicateRowCount);
@@ -69,7 +64,7 @@ class CRM_Event_Import_Form_Summary extends CRM_Import_Form_Summary {
/* only subtract dupes from successful import if we're skipping */
$this->set('validRowCount', $totalRowCount - $invalidRowCount -
- $duplicateRowCount - $mismatchCount
+ $duplicateRowCount
);
}
$this->assign('dupeActionString', $dupeActionString);
@@ -81,9 +76,7 @@ class CRM_Event_Import_Form_Summary extends CRM_Import_Form_Summary {
'downloadErrorRecordsUrl',
'duplicateRowCount',
'downloadDuplicateRecordsUrl',
- 'downloadMismatchRecordsUrl',
'groupAdditions',
- 'unMatchCount',
];
foreach ($properties as $property) {
$this->assign($property, $this->get($property));
diff --git a/CRM/Member/Import/Form/Preview.php b/CRM/Member/Import/Form/Preview.php
index 4c43964b58..7e84f5f52d 100644
--- a/CRM/Member/Import/Form/Preview.php
+++ b/CRM/Member/Import/Form/Preview.php
@@ -32,7 +32,6 @@ class CRM_Member_Import_Form_Preview extends CRM_Import_Form_Preview {
$dataValues = $this->get('dataValues');
$mapper = $this->get('mapper');
$invalidRowCount = $this->get('invalidRowCount');
- $mismatchCount = $this->get('unMatchCount');
//get the mapping name displayed if the mappingId is set
$mappingId = $this->get('loadMappingId');
@@ -48,11 +47,6 @@ class CRM_Member_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
- if ($mismatchCount) {
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Member_Import_Parser_Membership';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- }
-
$properties = [
'mapper',
'dataValues',
@@ -61,7 +55,6 @@ class CRM_Member_Import_Form_Preview extends CRM_Import_Form_Preview {
'validRowCount',
'invalidRowCount',
'downloadErrorRecordsUrl',
- 'downloadMismatchRecordsUrl',
];
$this->setStatusUrl();
@@ -151,8 +144,6 @@ class CRM_Member_Import_Form_Preview extends CRM_Import_Form_Preview {
$this->set('errorFile', $errorFile);
$urlParams = 'type=' . CRM_Import_Parser::ERROR . '&parser=CRM_Member_Import_Parser_Membership';
$this->set('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Member_Import_Parser_Membership';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
}
diff --git a/CRM/Member/Import/Form/Summary.php b/CRM/Member/Import/Form/Summary.php
index a21a567b6a..87640197e0 100644
--- a/CRM/Member/Import/Form/Summary.php
+++ b/CRM/Member/Import/Form/Summary.php
@@ -37,15 +37,11 @@ class CRM_Member_Import_Form_Summary extends CRM_Import_Form_Summary {
$invalidRowCount = $this->get('invalidRowCount');
$duplicateRowCount = $this->get('duplicateRowCount');
$onDuplicate = $this->get('onDuplicate');
- $mismatchCount = $this->get('unMatchCount');
+
if ($duplicateRowCount > 0) {
$urlParams = 'type=' . CRM_Import_Parser::DUPLICATE . '&parser=CRM_Member_Import_Parser_Membership';
$this->set('downloadDuplicateRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
}
- elseif ($mismatchCount) {
- $urlParams = 'type=' . CRM_Import_Parser::NO_MATCH . '&parser=CRM_Member_Import_Parser_Membership';
- $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
- }
else {
$duplicateRowCount = 0;
$this->set('duplicateRowCount', $duplicateRowCount);
@@ -69,7 +65,7 @@ class CRM_Member_Import_Form_Summary extends CRM_Import_Form_Summary {
/* only subtract dupes from successful import if we're skipping */
$this->set('validRowCount', $totalRowCount - $invalidRowCount -
- $duplicateRowCount - $mismatchCount
+ $duplicateRowCount
);
}
$this->assign('dupeActionString', $dupeActionString);
@@ -81,9 +77,7 @@ class CRM_Member_Import_Form_Summary extends CRM_Import_Form_Summary {
'downloadErrorRecordsUrl',
'duplicateRowCount',
'downloadDuplicateRecordsUrl',
- 'downloadMismatchRecordsUrl',
'groupAdditions',
- 'unMatchCount',
];
foreach ($properties as $property) {
$this->assign($property, $this->get($property));
diff --git a/templates/CRM/Activity/Import/Form/Summary.tpl b/templates/CRM/Activity/Import/Form/Summary.tpl
index 09388501e8..3bbe9432cc 100644
--- a/templates/CRM/Activity/Import/Form/Summary.tpl
+++ b/templates/CRM/Activity/Import/Form/Summary.tpl
@@ -19,15 +19,6 @@
{ts}Import has completed successfully. The information below summarizes the results.{/ts}
- {if $unMatchCount }
-
- {ts count=$unMatchCount plural='CiviCRM has detected mismatched activity IDs. These records have not been Updated.'}CiviCRM has detected mismatched activity ID. This record have not been updated.{/ts}
-
-
- {ts 1=$downloadMismatchRecordsUrl}You can Download Mismatched Activity records. You may then correct them, and import the new file with the corrected data.{/ts}
-
- {/if}
-
{if $invalidRowCount }
{ts count=$invalidRowCount plural='CiviCRM has detected invalid data and/or formatting errors in %count records. These records have not been imported.'}CiviCRM has detected invalid data and/or formatting errors in one record. This record have not been imported.{/ts}
@@ -65,17 +56,6 @@
{/if}
- {if $unMatchCount }
-
{ts}Mismatched Rows (skipped){/ts} |
- {$unMatchCount} |
- {ts}Rows with mismatched activity IDs (NOT updated).{/ts}
- {if $unMatchCount}
- {ts}Download Mismatched Activity records{/ts}
- {/if}
- |
-
- {/if}
-
{if $duplicateRowCount}
{ts}Duplicate Rows{/ts} |
{$duplicateRowCount} |
diff --git a/templates/CRM/Contribute/Import/Form/Summary.tpl b/templates/CRM/Contribute/Import/Form/Summary.tpl
index 7d0c860060..8e05fcbbb0 100644
--- a/templates/CRM/Contribute/Import/Form/Summary.tpl
+++ b/templates/CRM/Contribute/Import/Form/Summary.tpl
@@ -18,15 +18,6 @@
{ts}Import has completed successfully.{/ts} {ts}The information below summarizes the results.{/ts}
- {if $unMatchCount }
-
- {ts count=$unMatchCount plural='CiviCRM has detected mismatched contribution IDs. These records have not been Updated.'}CiviCRM has detected mismatched contribution ID. This record has not been updated.{/ts}
-
-
- {ts 1=$downloadMismatchRecordsUrl}You can Download Mismatched Contributions. You may then correct them, and import the new file with the corrected data.{/ts}
-
- {/if}
-
{if $invalidRowCount }
{ts count=$invalidRowCount plural='CiviCRM has detected invalid data and/or formatting errors in %count records. These records have not been imported.'}CiviCRM has detected invalid data and/or formatting errors in one record. This record has not been imported.{/ts}
@@ -99,16 +90,6 @@
{/if}
- {if $unMatchCount }
- {ts}Mismatched Rows (skipped){/ts} |
- {$unMatchCount} |
- {ts}Rows with mismatched contribution IDs... (NOT updated).{/ts}
- {if $unMatchCount}
- {ts}Download Mismatched Contributions{/ts}
- {/if}
- |
-
- {/if}
{if $duplicateRowCount}
{ts}Duplicate Rows{/ts} |
diff --git a/templates/CRM/Event/Import/Form/Summary.tpl b/templates/CRM/Event/Import/Form/Summary.tpl
index b27daf6ad0..74d19b75f9 100644
--- a/templates/CRM/Event/Import/Form/Summary.tpl
+++ b/templates/CRM/Event/Import/Form/Summary.tpl
@@ -20,15 +20,6 @@
{ts}Import has completed successfully.{/ts} {ts}The information below summarizes the results.{/ts}
- {if $unMatchCount }
-
- {ts count=$unMatchCount plural='CiviCRM has detected mismatched participant IDs. These records have not been updated.'}CiviCRM has detected a mismatched participant ID. This record has not been updated.{/ts}
-
-
- {ts 1=$downloadMismatchRecordsUrl}You can Download Mismatched Participants. You may then correct them, and import the new file with the corrected data.{/ts}
-
- {/if}
-
{if $invalidRowCount }
{ts count=$invalidRowCount plural='CiviCRM has detected invalid data and/or formatting errors in %count records. These records have not been imported.'}CiviCRM has detected invalid data and/or formatting errors in one record. This record has not been imported.{/ts}
@@ -69,17 +60,6 @@
{/if}
- {if $unMatchCount }
- {ts}Mismatched Rows (skipped){/ts} |
- {$unMatchCount} |
- {ts}Rows with mismatched participant IDs... (NOT updated).{/ts}
- {if $unMatchCount}
- {ts}Download Mismatched participants{/ts}
- {/if}
- |
-
- {/if}
-
{if $duplicateRowCount}
{ts}Duplicate Rows{/ts} |
{$duplicateRowCount} |
diff --git a/templates/CRM/Member/Import/Form/Summary.tpl b/templates/CRM/Member/Import/Form/Summary.tpl
index f2ea3263f1..0d6b159936 100644
--- a/templates/CRM/Member/Import/Form/Summary.tpl
+++ b/templates/CRM/Member/Import/Form/Summary.tpl
@@ -19,15 +19,6 @@
{ts}Import has completed successfully.{/ts} {ts}The information below summarizes the results.{/ts}
- {if $unMatchCount }
-
- {ts count=$unMatchCount plural='CiviCRM has detected mismatched membership IDs. These records have not been Updated.'}CiviCRM has detected mismatched membership ID. This record has not been updated.{/ts}
-
-
- {ts 1=$downloadMismatchRecordsUrl}You can Download Mismatched Memberships. You may then correct them, and import the new file with the corrected data.{/ts}
-
- {/if}
-
{if $invalidRowCount }
{ts count=$invalidRowCount plural='CiviCRM has detected invalid data and/or formatting errors in %count records. These records have not been imported.'}CiviCRM has detected invalid data and/or formatting errors in one record. This record has not been imported.{/ts}
@@ -65,17 +56,6 @@
{/if}
- {if $unMatchCount }
- {ts}Mismatched Rows (skipped){/ts} |
- {$unMatchCount} |
- {ts}Rows with mismatched membership IDs... (NOT updated).{/ts}
- {if $unMatchCount}
- {ts}Download Mismatched Memberships{/ts}
- {/if}
- |
-
- {/if}
-
{if $duplicateRowCount}
{ts}Duplicate Rows{/ts} |
{$duplicateRowCount} |
--
2.25.1