Ignore:
Timestamp:
Feb 3, 2010, 3:36:28 PM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
84b3640
Parents:
e2f2aa9
git-author:
Alex Dehnert <adehnert@…> (02/03/10 15:36:28)
git-committer:
Alex Dehnert <adehnert@…> (02/03/10 15:36:28)
Message:

Mostly done with the voucher approval workflow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remit/remit_templates/vouchers/ReimbursementRequest_review.html

    rdb191ee r587bb95  
    11{% extends "base.html" %}
     2{% load misc %}
    23
    34{% block title %}Review reimbursement request for "{{ rr.name }}"{% endblock %}
     
    4748</tr>
    4849<tr>
    49     <th>Approval Time</th>
    50     <td>{{rr.approval_time}}</td>
     50    <th>Approval Status (Time)</th>
     51    <td>{{ rr.approval_status|approval_status }} ({{ rr.approval_time }})</td>
    5152</tr>
    5253<tr>
     
    5657</table>
    5758
    58 {% if perms.vouchers.can_approve %}
    59 <form method="post">
    60 <input type="submit" name="approve" value="Approve" />
     59{% if approve_form %}
     60<h3>Request Approval</h3>
     61{% if approve_message %}
     62<p>{{ approve_message }}</p>
     63{% endif %}
     64<form method="post" action="">
     65<table class='pretty-table'>
     66{{ approve_form.as_table }}
     67
     68<tr>
     69    <th colspan='2'><input type="submit" name="approve" value="Approve" /></td>
     70</tr>
     71</table>
    6172</form>
    6273{% endif %}
Note: See TracChangeset for help on using the changeset viewer.