Ignore:
Timestamp:
18 Jun 2018, 05:20:14 (7 years ago)
Author:
Henrik Bettermann
Message:

Add payment session filter to payment exporters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/exportconfig.pt

    r15042 r15055  
    8181  </span>
    8282
     83  <span id="paysession" style="display: none;">
     84    <br />
     85    <label for="paysession" i18n:translate="">
     86      Payment Sessions
     87    </label>
     88    <select name="paysession" class="form-control half">
     89      <option tal:repeat="item view/sessions"
     90              tal:attributes="value python:item[1]">
     91        <span tal:replace="python: item[0]">2018/2019</span>
     92      </option>
     93    </select>
     94    <br />
     95  </span>
     96
    8397  <span id="ct_data" style="display: none;">
    8498    <br />
     
    120134          document.getElementById('paycat').style.display = 'block';
    121135          document.getElementById('ct_data').style.display = 'none';
     136          document.getElementById('paysession').style.display = 'block';
     137
    122138      } else if (document.getElementById('exporter').value == 'coursetickets')  {
    123139          document.getElementById('ct_data').style.display = 'block';
    124140          document.getElementById('payment_dates').style.display = 'none';
    125141          document.getElementById('paycat').style.display = 'none';
     142          document.getElementById('paysession').style.display = 'none';
     143
    126144      } else {
    127145          document.getElementById('ct_data').style.display = 'none';
    128146          document.getElementById('payment_dates').style.display = 'none';
    129147          document.getElementById('paycat').style.display = 'none';
     148          document.getElementById('paysession').style.display = 'none';
    130149      }
    131150  }
Note: See TracChangeset for help on using the changeset viewer.