View | Details | Raw Unified | Return to bug 32199
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt (-20 / +23 lines)
Lines 62-91 Link Here
62
    [% IF patron.holds.count %]
62
    [% IF patron.holds.count %]
63
        <p>Patron has holds. They will be cancelled if the discharge is generated.</p>
63
        <p>Patron has holds. They will be cancelled if the discharge is generated.</p>
64
    [% END %]
64
    [% END %]
65
    <form method="post">
65
    <div class="btn-toolbar">
66
        <input type="submit" name="discharge" class="btn btn-primary" value="Generate discharge" />
66
        <form method="post">
67
        <input type="hidden" value="[% patron.borrowernumber | html %]" name="borrowernumber" />
67
            <input type="submit" name="discharge" class="btn btn-primary" value="Generate discharge" />
68
    </form>
68
            <input type="hidden" value="[% patron.borrowernumber | html %]" name="borrowernumber" />
69
        </form>
70
    </div>
69
[% END %]
71
[% END %]
70
72
71
[% IF validated_discharges %]
73
[% IF validated_discharges %]
72
    <h2>Already validated discharges</h2>
74
    <div class="page-section">
73
    <table>
75
        <h2>Already validated discharges</h2>
74
        <thead>
76
        <table>
75
            <tr>
77
            <thead>
76
                <th>Requested</th>
77
                <th>Validated</th>
78
            </tr>
79
        </thead>
80
        <tbody>
81
            [% FOR d IN validated_discharges %]
82
                <tr>
78
                <tr>
83
                    <td>[% d.needed | $KohaDates with_hours = 1 %]</td>
79
                    <th>Requested</th>
84
                    <td>[% d.validated | $KohaDates with_hours = 1 %]</td>
80
                    <th>Validated</th>
85
                </tr>
81
                </tr>
86
            [% END %]
82
            </thead>
87
        </tbody>
83
            <tbody>
88
    </table>
84
                [% FOR d IN validated_discharges %]
85
                    <tr>
86
                        <td>[% d.needed | $KohaDates with_hours = 1 %]</td>
87
                        <td>[% d.validated | $KohaDates with_hours = 1 %]</td>
88
                    </tr>
89
                [% END %]
90
            </tbody>
91
        </table>
92
    </div>
89
[% END %]
93
[% END %]
90
94
91
            </main>
95
            </main>
92
- 

Return to bug 32199