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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-11 / +13 lines)
Lines 98-117 Link Here
98
            <li><span class="label">Status:</span>
98
            <li><span class="label">Status:</span>
99
                Closed on [% invoiceclosedate | $KohaDates %]</li>
99
                Closed on [% invoiceclosedate | $KohaDates %]</li>
100
100
101
            <li>
102
                <label for="reopen">Reopen: </label>
103
                [% IF CAN_user_acquisition_reopen_closed_invoices AND NOT readonly %]
101
                [% IF CAN_user_acquisition_reopen_closed_invoices AND NOT readonly %]
104
                    <input type="checkbox" name="reopen" id="reopen" />
102
                    <li>
105
                [% ELSE %]
103
                        <label for="reopen">Reopen: </label>
106
                    <input type="checkbox" name="reopen" id="reopen" readonly="disabled" />
104
                        <input type="checkbox" name="reopen" id="reopen" />
105
                    </li>
107
                [% END %]
106
                [% END %]
108
            </li>
109
            [% ELSE %]
107
            [% ELSE %]
110
            <li><span class="label">Status:</span>
108
                <li>
111
                Open</li>
109
                    <span class="label">Status:</span>
112
110
                    Open
113
                <li><label for="close">Close: </label> <input type="checkbox" name="close" id="close" />
111
                </li>
112
                [% UNLESS ( readonly ) %]
113
                    <li>
114
                        <label for="close">Close: </label>
115
                        <input type="checkbox" name="close" id="close" />
114
                    </li>
116
                    </li>
117
                [% END %]
115
            [% END %]
118
            [% END %]
116
            </ol>
119
            </ol>
117
        [% UNLESS readonly %]
120
        [% UNLESS readonly %]
118
- 

Return to bug 24157