Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | {* Membership Import Wizard - Step 4 (summary of import results AFTER actual data loading) *} | |
11 | {* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *} | |
12 | ||
13 | <div class="crm-block crm-form-block crm-member-import-summary-form-block"> | |
14 | {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *} | |
15 | {include file="CRM/common/WizardHeader.tpl"} | |
31037a42 | 16 | |
f6eedce7 | 17 | <div class="help"> |
6a488035 TO |
18 | <p> |
19 | <strong>{ts}Import has completed successfully.{/ts}</strong> {ts}The information below summarizes the results.{/ts} | |
20 | </p> | |
31037a42 | 21 | |
6a488035 TO |
22 | {if $unMatchCount } |
23 | <p class="error"> | |
e2cd07fc | 24 | {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} |
6a488035 TO |
25 | </p> |
26 | <p class="error"> | |
27 | {ts 1=$downloadMismatchRecordsUrl}You can <a href='%1'>Download Mismatched Memberships</a>. You may then correct them, and import the new file with the corrected data.{/ts} | |
28 | </p> | |
31037a42 EM |
29 | {/if} |
30 | ||
6a488035 TO |
31 | {if $invalidRowCount } |
32 | <p class="error"> | |
e2cd07fc | 33 | {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} |
6a488035 TO |
34 | </p> |
35 | <p class="error"> | |
36 | {ts 1=$downloadErrorRecordsUrl}You can <a href="%1">Download Errors</a>. You may then correct them, and import the new file with the corrected data.{/ts} | |
37 | </p> | |
38 | {/if} | |
39 | ||
40 | {if $conflictRowCount} | |
41 | <p class="error"> | |
e2cd07fc | 42 | {ts count=$conflictRowCount plural='CiviCRM has detected %count records with conflicting transaction IDs within this data file or relative to existing membership records. These records have not been imported.'}CiviCRM has detected one record with conflicting transaction ID within this data file or relative to existing membership records. This record has not been imported.{/ts} |
6a488035 TO |
43 | </p> |
44 | <p class="error"> | |
45 | {ts 1=$downloadConflictRecordsUrl}You can <a href="%1">Download Conflicts</a>. You may then review these records to determine if they are actually conflicts, and correct the transaction IDs for those that are not.{/ts} | |
46 | </p> | |
47 | {/if} | |
48 | ||
49 | {if $duplicateRowCount} | |
50 | <p {if $dupeError}class="error"{/if}> | |
51 | {ts count=$duplicateRowCount plural='CiviCRM has detected %count records which are duplicates of existing CiviCRM membership records.'}CiviCRM has detected one record which is a duplicate of existing CiviCRM membership record.{/ts} {$dupeActionString} | |
52 | </p> | |
53 | <p {if $dupeError}class="error"{/if}> | |
54 | {ts 1=$downloadDuplicateRecordsUrl}You can <a href="%1">Download Duplicates</a>. You may then review these records to determine if they are actually duplicates, and correct the transaction IDs for those that are not.{/ts} | |
55 | </p> | |
56 | {/if} | |
57 | </div> | |
31037a42 | 58 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> |
6a488035 TO |
59 | {* Summary of Import Results (record counts) *} |
60 | <table id="summary-counts" class="report"> | |
d8eb7600 | 61 | <tr><td class="label crm-grid-cell">{ts}Total Rows{/ts}</td> |
6a488035 TO |
62 | <td class="data">{$totalRowCount}</td> |
63 | <td class="explanation">{ts}Total rows (membership records) in uploaded file.{/ts}</td> | |
64 | </tr> | |
65 | ||
66 | {if $invalidRowCount } | |
d8eb7600 | 67 | <tr class="error"><td class="label crm-grid-cell">{ts}Invalid Rows (skipped){/ts}</td> |
6a488035 TO |
68 | <td class="data">{$invalidRowCount}</td> |
69 | <td class="explanation">{ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts} | |
70 | {if $invalidRowCount} | |
13a3d214 | 71 | <div class="action-link"><a href="{$downloadErrorRecordsUrl}"><i class="crm-i fa-download" aria-hidden="true"></i> {ts}Download Errors{/ts}</a></div> |
6a488035 TO |
72 | {/if} |
73 | </td> | |
74 | </tr> | |
75 | {/if} | |
31037a42 | 76 | |
6a488035 | 77 | {if $unMatchCount } |
d8eb7600 | 78 | <tr class="error"><td class="label crm-grid-cell">{ts}Mismatched Rows (skipped){/ts}</td> |
6a488035 TO |
79 | <td class="data">{$unMatchCount}</td> |
80 | <td class="explanation">{ts}Rows with mismatched membership IDs... (NOT updated).{/ts} | |
81 | {if $unMatchCount} | |
82 | <p><a href="{$downloadMismatchRecordsUrl}">{ts}Download Mismatched Memberships{/ts}</a></p> | |
83 | {/if} | |
84 | </td> | |
85 | </tr> | |
86 | {/if} | |
31037a42 | 87 | |
6a488035 | 88 | {if $conflictRowCount} |
d8eb7600 | 89 | <tr class="error"><td class="label crm-grid-cell">{ts}Conflicting Rows (skipped){/ts}</td> |
6a488035 TO |
90 | <td class="data">{$conflictRowCount}</td> |
91 | <td class="explanation">{ts}Rows with conflicting transaction IDs (NOT imported).{/ts} | |
92 | {if $conflictRowCount} | |
93 | <p><a href="{$downloadConflictRecordsUrl}">{ts}Download Conflicts{/ts}</a></p> | |
94 | {/if} | |
95 | </td> | |
96 | </tr> | |
97 | {/if} | |
98 | ||
99 | {if $duplicateRowCount} | |
d8eb7600 | 100 | <tr class="error"><td class="label crm-grid-cell">{ts}Duplicate Rows{/ts}</td> |
6a488035 TO |
101 | <td class="data">{$duplicateRowCount}</td> |
102 | <td class="explanation">{ts}Rows which are duplicates of existing CiviCRM membership records.{/ts} {$dupeActionString} | |
103 | {if $duplicateRowCount} | |
104 | <p><a href="{$downloadDuplicateRecordsUrl}">{ts}Download Duplicates{/ts}</a></p> | |
105 | {/if} | |
106 | </td> | |
107 | </tr> | |
108 | {/if} | |
31037a42 | 109 | |
d8eb7600 | 110 | <tr><td class="label crm-grid-cell">{ts}Records Imported{/ts}</td> |
6a488035 TO |
111 | <td class="data">{$validRowCount}</td> |
112 | <td class="explanation">{ts}Rows imported successfully.{/ts}</td> | |
113 | </tr> | |
114 | ||
115 | </table> | |
31037a42 | 116 | |
6a488035 TO |
117 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> |
118 | </div> |