Ignore:
Timestamp:
2 Dec 2011, 12:46:36 (13 years ago)
Author:
Henrik Bettermann
Message:

First part of acceptance fee payment integration (under construction).

Location:
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantdisplaypage.pt

    r7240 r7250  
    4343  </tbody>
    4444</table>
     45<h3 i18n:translate="">Acceptance Fee Payment Tickets</h3>
     46<table class="zebra">
     47  <thead>
     48    <tr>
     49      <th>Payment Id</th>
     50      <th>Creation Date</th>
     51      <th>Payment Date</th>
     52      <th>Category</th>
     53      <th>Item</th>
     54      <th>State</th>
     55    </tr>
     56  </thead>
     57  <tbody>
     58    <tr tal:repeat="value context/values">
     59      <td> <a tal:attributes="href value/__name__">
     60      <span tal:content="value/p_id">PID</span></a></td>
     61      <td tal:content="python: view.formatDatetime(value.creation_date)">CREATION DATE</td>
     62      <td tal:content="python: view.formatDatetime(value.payment_date)">PAYMENT DATE</td>
     63      <td tal:content ="value/category">CATEGORY</td>
     64      <td tal:content ="value/p_item">ITEM</td>
     65      <td tal:content ="value/state">STATE</td>
     66    </tr>
     67  </tbody>
     68</table>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicanteditpage.pt

    r7240 r7250  
    9595
    9696  <div class="actionButtons" tal:condition="view/availableActions">
    97     <input tal:repeat="action view/actions"
    98            tal:replace="structure action/render"
    99            />
     97    <span tal:repeat="action view/actions"
     98          tal:omit-tag="">
     99      <input tal:condition="python:action.label in view.display_actions[0]"
     100             tal:replace="structure action/render"/>
     101    </span>
     102  </div>
     103
     104  <br /><br />
     105  <h3 i18n:translate="">Acceptance Fee Payment Tickets</h3>
     106
     107  <table class="display dataTableManage">
     108    <thead>
     109    <tr>
     110      <th>&nbsp;</th>
     111      <th>Payment Id</th>
     112      <th>Creation Date</th>
     113      <th>Payment Date</th>
     114      <th>Category</th>
     115      <th>Item</th>
     116      <th>State</th>
     117    </tr>
     118    </thead>
     119    <tbody>
     120      <tr tal:repeat="cl context/values">
     121         <td>
     122          <input type="checkbox"
     123                 name="val_id"
     124                 tal:attributes="value cl/__name__"
     125         tal:condition="python: not view.unremovable(cl)" />
     126        </td>
     127        <td> <a tal:attributes="href cl/__name__">
     128        <span tal:content="cl/p_id">PID</span></a></td>
     129        <td tal:content="python: view.formatDatetime(cl.creation_date)">CREATION DATE</td>
     130        <td tal:content="python: view.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
     131      <td tal:content ="cl/category">CATEGORY</td>
     132      <td tal:content ="cl/p_item">ITEM</td>
     133      <td tal:content ="cl/state">STATE</td>
     134      </tr>
     135    </tbody>
     136  </table>
     137
     138  <div class="actionButtons" tal:condition="view/availableActions">
     139    <span tal:repeat="action view/actions"
     140          tal:omit-tag="">
     141      <input tal:condition="python:action.label in view.display_actions[1]"
     142             tal:replace="structure action/render"/>
     143    </span>
    100144  </div>
    101145</form>
Note: See TracChangeset for help on using the changeset viewer.