Merge pull request #22233 from colemanw/apiExplorerArgs
[civicrm-core.git] / templates / CRM / Financial / Form / Export.tpl
CommitLineData
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{* Confirmation of Export Batch(s) *}
11<h3>{ts}Export Batch{/ts}</h3>
12<div class="messages status">
34d6cec4 13 {icon icon="fa-info-circle"}{/icon}
6a488035
TO
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">
3cc60a06 39 CRM.$(function($) {
ae8f569f
CW
40 $('input[name="export_format"]').filter('[value=IIF]').prop('checked', true);
41 $('#_qf_Export_next').click(function(){
42 $(this).hide();
aea91984 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}');
6a488035
TO
45 });
46 });
47</script>
48{/literal}
49