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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt (-4 / +8 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 %]
70
71
        [% IF discharge_problems.debt %]
72
            <li>The patron has unpaid charges of [% discharge_problems.debt | $Price %]</li>
69
        [% END %]
73
        [% END %]
70
        <div class="btn-toolbar">
74
        <div class="btn-toolbar">
71
            <form method="post">
75
            <form method="post">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt (-7 / +6 lines)
Lines 43-58 Link Here
43
                    [% ELSIF pending %]
43
                    [% ELSIF pending %]
44
                        <p>Your discharge will be available on this page within a few days.</p>
44
                        <p>Your discharge will be available on this page within a few days.</p>
45
                    [% ELSIF failure %]
45
                    [% ELSIF failure %]
46
                        <p>You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</p>
46
                        <p>You cannot be discharged because you have checked out items. Please return your checked out items before asking for a discharge.</p>
47
                        <ul>
47
                        <ul>
48
                            [% IF has_debt %]
48
                            [% IF has_debt %]
49
                                <li> You have unpaid fines. Please pay your fines before reapplying.</li>
49
                                <li>You have unpaid charges. Please pay your charges before reapplying.</li>
50
                            [% END %]
50
                            [% END %]
51
                            [% IF has_issues %]
51
                            [% IF has_issues %]
52
                                <li> You have checked out items. Please return them before reapplying.</li>
52
                                <li>You have checked out items. Please return your checked out items before reapplying.</li>
53
                            [% END %]
53
                            [% END %]
54
                            [% IF !has_issue and !has_debt %]
54
                            [% IF !has_issue and !has_debt %]
55
                                <li> Patron cannot be discharged for an unknown reason, please contact a librarian for more information</li>
55
                                <li>You cannot be discharged for an unknown reason. Please contact library staff for more information.</li>
56
                            [% END %]
56
                            [% END %]
57
                        </ul>
57
                        </ul>
58
                    [% ELSIF not messages %]
58
                    [% ELSIF not messages %]
Lines 67-77 Link Here
67
                                >You cannot be discharged for following reasons:
67
                                >You cannot be discharged for following reasons:
68
                                <ul>
68
                                <ul>
69
                                    [% IF discharge_problems.checkouts %]
69
                                    [% IF discharge_problems.checkouts %]
70
                                        <li> You have [% discharge_problems.checkouts | html %] item(s) checked out. Please return them before reapplying. </li>
70
                                        <li> You have [% discharge_problems.checkouts | html %] item(s) checked out. Please return your checked out items before reapplying. </li>
71
                                    [% END %]
71
                                    [% END %]
72
72
73
                                    [% IF discharge_problems.debt %]
73
                                    [% IF discharge_problems.debt %]
74
                                        <li> They have unpaid fines totaling [% discharge_problems.debt | $Price %]. Please pay your fines before reapplying. </li>
74
                                        <li> You have unpaid charges of [% discharge_problems.debt | $Price %]. Please pay your charges before reapplying. </li>
75
                                    [% END %]
75
                                    [% END %]
76
                                </ul>
76
                                </ul>
77
                            </div>
77
                            </div>
78
- 

Return to bug 14250