Merge pull request #23018 from colemanw/afformDeepSearch
[civicrm-core.git] / templates / CRM / Financial / Form / Export.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
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 |
8 +--------------------------------------------------------------------+
9 *}
10 {* Confirmation of Export Batch(s) *}
11 <h3>{ts}Export Batch{/ts}</h3>
12 <div class="messages status">
13 {icon icon="fa-info-circle"}{/icon}
14 {ts}Warning: You will not be able to reopen or change the batch after it is exported. Are you sure you want to export?{/ts}
15 </div>
16 <div class="crm-block crm-form-block crm-export_batch-form-block">
17 <div class = "batch-names">
18 <ul>
19 {foreach from=$batchNames item=batchName}
20 <li>{$batchName}</li>
21 {/foreach}
22 </ul>
23 </div>
24
25 <table class="form-layout">
26 <tr class="crm-contribution-form-block-name">
27 <td class="html-adjust">
28 {$form.export_format.html}
29 </td>
30 </tr>
31 </table>
32
33 <div class="form-item">
34 {$form.buttons.html}
35 </div>
36 </div>
37 {literal}
38 <script type="text/javascript">
39 CRM.$(function($) {
40 $('input[name="export_format"]').filter('[value=IIF]').prop('checked', true);
41 $('#_qf_Export_next').click(function(){
42 $(this).hide();
43 {/literal}{capture assign=tsdone}{ts}Done{/ts}{/capture}{literal}
44 $('#_qf_Export_cancel').html('<i aria-hidden="true" class="crm-i fa-check"></i> {/literal}{$tsdone|escape}{literal}');
45 });
46 });
47 </script>
48 {/literal}
49