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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt (-4 / +4 lines)
Lines 53-71 Link Here
53
    </div>
53
    </div>
54
[% END %]
54
[% END %]
55
[% UNLESS can_be_discharged %]
55
[% UNLESS can_be_discharged %]
56
    <p>Cannot edit discharge for following reasons: </p>
56
    <p>A discharge cannot be generated for this patron because:</p>
57
    <ul>
57
    <ul>
58
        [% IF discharge_problems.checkouts %]
58
        [% IF discharge_problems.checkouts %]
59
            <li>They have [% discharge_problems.checkouts | html %] item(s) checked out</li>
59
            <li>The patron has [% discharge_problems.checkouts | html %] item(s) checked out</li>
60
        [% END %]
60
        [% END %]
61
61
62
        [% IF discharge_problems.debt %]
62
        [% IF discharge_problems.debt %]
63
            <li>They have unpaid fines totaling [% discharge_problems.debt | $Price %]</li>
63
            <li>The patron has unpaid charges of [% discharge_problems.debt | $Price %]</li>
64
        [% END %]
64
        [% END %]
65
    </ul>
65
    </ul>
66
[% ELSE %]
66
[% ELSE %]
67
    [% IF patron.holds.count %]
67
    [% IF patron.holds.count %]
68
        <p>Patron has holds. They will be cancelled if the discharge is generated.</p>
68
        <p>The patron has holds. The holds will be cancelled if the discharge is generated.</p>
69
    [% END %]
69
    [% END %]
70
    <div class="btn-toolbar">
70
    <div class="btn-toolbar">
71
        <form method="post">
71
        <form method="post">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt (-9 / +8 lines)
Lines 45-60 Link Here
45
                    [% ELSIF pending %]
45
                    [% ELSIF pending %]
46
                        <p>Your discharge will be available on this page within a few days.</p>
46
                        <p>Your discharge will be available on this page within a few days.</p>
47
                    [% ELSIF failure %]
47
                    [% ELSIF failure %]
48
                        <p>You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</p>
48
                        <p>You cannot be discharged because you have checked out items. Please return your checked out items before asking for a discharge.</p>
49
                        <ul>
49
                        <ul>
50
                        [% IF has_debt %]
50
                        [% IF has_debt %]
51
                            <li> You have unpaid fines. Please pay your fines before reapplying.</li>
51
                            <li>You have unpaid charges. Please pay your charges before reapplying.</li>
52
                        [% END %]
52
                        [% END %]
53
                        [% IF has_issues %]
53
                        [% IF has_issues %]
54
                            <li> You have checked out items. Please return them before reapplying.</li>
54
                            <li>You have checked out items. Please return your checked out items before reapplying.</li>
55
                        [% END %]
55
                        [% END %]
56
                        [% IF !has_issue and !has_debt %]
56
                        [% IF !has_issue and !has_debt %]
57
                            <li>   Patron cannot be discharged for an unknown reason, please contact a librarian for more information</li>
57
                            <li>You cannot be discharged for an unknown reason. Please contact library staff for more information.</li>
58
                        [% END %]
58
                        [% END %]
59
                        </ul>
59
                        </ul>
60
                    [% ELSIF not messages %]
60
                    [% ELSIF not messages %]
Lines 62-80 Link Here
62
                        <p>This document certifies that you have returned all borrowed items. It is sometimes asked during a file transfer from a school to another. The discharge is sent by us to your school. You will also find it available on your reader account.</p>
62
                        <p>This document certifies that you have returned all borrowed items. It is sometimes asked during a file transfer from a school to another. The discharge is sent by us to your school. You will also find it available on your reader account.</p>
63
                        <p><strong>Warning</strong>: This request is only valid if you are in good standing with the library. Once the application is made, you can not borrow library materials.</p>
63
                        <p><strong>Warning</strong>: This request is only valid if you are in good standing with the library. Once the application is made, you can not borrow library materials.</p>
64
                        [% UNLESS can_be_discharged %]
64
                        [% UNLESS can_be_discharged %]
65
                            <div class="alert alert-info">You cannot be discharged for following reasons:
65
                            <div class="alert alert-info">You cannot be discharged because:
66
                            <ul>
66
                            <ul>
67
                                [% IF discharge_problems.checkouts %]
67
                                [% IF discharge_problems.checkouts %]
68
                                    <li>
68
                                    <li>
69
                                        You have [% discharge_problems.checkouts | html %] item(s) checked out.
69
                                        You have [% discharge_problems.checkouts | html %] item(s) checked out.
70
                                        Please return them before reapplying.
70
                                        Please return your checked out items before reapplying.
71
                                    </li>
71
                                    </li>
72
                                [% END %]
72
                                [% END %]
73
73
74
                                [% IF discharge_problems.debt %]
74
                                [% IF discharge_problems.debt %]
75
                                    <li>
75
                                    <li>
76
                                        They have unpaid fines totaling [% discharge_problems.debt | $Price %].
76
                                        You have unpaid charges of [% discharge_problems.debt | $Price %].
77
                                        Please pay your fines before reapplying.
77
                                        Please pay your charges before reapplying.
78
                                    </li>
78
                                    </li>
79
                                [% END %]
79
                                [% END %]
80
                            </ul>
80
                            </ul>
81
- 

Return to bug 14250