source: main/waeup.kofa/branches/uli-py3/src/waeup/kofa/students/browser_templates/exportconfig_certificate.pt

Last change on this file was 12971, checked in by Henrik Bettermann, 9 years ago

Add StudentUnpaidPaymentExporter? to export only unpaid tickets. This exporter is designed for finding and finally purging outdated payment ticket.

File size: 2.4 KB
Line 
1<p class="alert alert-warning"  i18n:domain="waeup.kofa"
2   i18n:translate="student_export_warning">
3  <strong>NOTICE:</strong>
4  Student data exports are very computation intensive.
5  Depending on the filter selected and the portal traffic load, exports may take
6  longer than 15 minutes. You are advised to export data outside high-traffic
7  time periods.
8</p>
9
10<br />
11
12<form i18n:domain="waeup.kofa" method="POST">
13  <label for="mode" i18n:translate="">
14    Exporter (Data Type)
15  </label>
16  <select id="exporter" name="exporter" class="form-control half" onclick="test()">
17    <option tal:repeat="item view/exporters"
18            tal:attributes="value python:item[1]">
19      <span tal:replace="python: item[0]">Students</span>
20    </option>
21  </select>
22  <br />
23  <label for="session" i18n:translate="">
24    Current Session
25  </label>
26  <select name="session" class="form-control half">
27    <option tal:repeat="item view/sessions"
28            tal:attributes="value python:item[1]">
29      <span tal:replace="python: item[0]">2012/2013</span>
30    </option>
31  </select>
32  <br />
33  <label for="level" i18n:translate="">
34    Current Level
35  </label>
36  <select name="level" class="form-control half">
37    <option tal:repeat="item view/levels"
38            tal:attributes="value python:item[1]">
39      <span tal:replace="python: item[0]">200</span>
40    </option>
41  </select>
42  <br />
43  <span id="payment_dates" style="display: none;">
44    <label for="mode" i18n:translate="">
45      Payment Date
46    </label>
47    <br />
48    from
49    <input class="datepicker-le-year datepicker-short textType"
50           id="payments_start"
51           name="payments_start" type="text" value="" />
52    to <input class="datepicker-le-year datepicker-short textType"
53           id="payments_end"
54           name="payments_end" type="text" value="" />
55    <br />
56  </span>
57  <br />
58  <input type="submit" name="START"  i18n:translate=""
59    value="Create CSV file"
60    class="btn btn-primary" />
61</form>
62
63<script type="text/javascript">
64  function test() {
65      if (document.getElementById('exporter').value == 'bursary' ||
66          document.getElementById('exporter').value == 'studentpayments' ||
67          document.getElementById('exporter').value == 'studentunpaidpayments') {
68          document.getElementById('payment_dates').style.display = 'block';
69      } else {
70          document.getElementById('payment_dates').style.display = 'none';
71      }
72  }
73</script>
Note: See TracBrowser for help on using the repository browser.