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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt (-5 / +6 lines)
Lines 57-73 Link Here
57
                            </form>
57
                            </form>
58
                        [% ELSE %]
58
                        [% ELSE %]
59
                            [% IF failure %]
59
                            [% IF failure %]
60
                                <p> There was an error during the discharge process </p>
60
                                <p>There was an error during the discharge process</p>
61
                            [% END %]
61
                            [% END %]
62
                            <div class="alert alert-info"
62
                            <div class="alert alert-info"
63
                                >You cannot be discharged because:
63
                                >You cannot be discharged because:
64
                                <ul>
64
                                <ul>
65
                                    [% IF discharge_problems.checkouts %]
65
                                    [% IF discharge_problems.checkouts > 1 %]
66
                                        <li> You have [% discharge_problems.checkouts | html %] item(s) checked out. Please return your checked out items before reapplying. </li>
66
                                        <li>You have [% discharge_problems.checkouts | html %] items checked out. Please return them before reapplying.</li>
67
                                    [% ELSIF discharge_problems.checkouts == 1 %]
68
                                        <li>You currently have an item checked out. Please return it before reapplying.</li>
67
                                    [% END %]
69
                                    [% END %]
68
70
69
                                    [% IF discharge_problems.debt %]
71
                                    [% IF discharge_problems.debt %]
70
                                        <li> You have unpaid charges of [% discharge_problems.debt | $Price %]. Please pay your charges before reapplying. </li>
72
                                        <li>You have unpaid charges of [% discharge_problems.debt | $Price %]. Please pay them before reapplying.</li>
71
                                    [% END %]
73
                                    [% END %]
72
                                </ul>
74
                                </ul>
73
                            </div>
75
                            </div>
74
- 

Return to bug 39960