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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt (-15 / +26 lines)
Lines 121-147 Link Here
121
            [% BLOCK table_option %]
121
            [% BLOCK table_option %]
122
                <li><a href="?tablename=[% value | uri %]">[% content | $raw %] (<span class="ex">[% value | html %]</span>)</a></li>
122
                <li><a href="?tablename=[% value | uri %]">[% content | $raw %] (<span class="ex">[% value | html %]</span>)</a></li>
123
            [% END %]
123
            [% END %]
124
            <ul>
124
                [% IF CAN_user_acquisition_order_manage || CAN_user_acquisition_edit_invoices %]
125
                [% IF CAN_user_acquisition_order_manage %]
125
                    <h3>Acquisitions</h3>
126
                    [% WRAPPER table_option value="aqbasket" %]<span>Order baskets</span>[% END %]
126
                    <ul>
127
                    [% WRAPPER table_option value="aqorders" %]<span>Order lines</span>[% END %]
127
                        [% IF CAN_user_acquisition_order_manage %]
128
                [% END %]
128
                            [% WRAPPER table_option value="aqbasket" %]<span>Order baskets</span>[% END %]
129
                [% IF CAN_user_acquisition_edit_invoices %]
129
                            [% WRAPPER table_option value="aqorders" %]<span>Order lines</span>[% END %]
130
                    [% WRAPPER table_option value="aqinvoices" %]<span>Invoices</span>[% END %]
130
                        [% END %]
131
                        [% IF CAN_user_acquisition_edit_invoices %]
132
                            [% WRAPPER table_option value="aqinvoices" %]<span>Invoices</span>[% END %]
133
                        [% END %]
134
                    </ul>
131
                [% END %]
135
                [% END %]
132
                [% IF CAN_user_serials_edit_subscription %]
136
                [% IF CAN_user_serials_edit_subscription %]
133
                    [% WRAPPER table_option value="subscription" %]<span>Subscriptions</span>[% END %]
137
                    <h3>Serials</h3>
138
                    <ul>
139
                        [% WRAPPER table_option value="subscription" %]<span>Subscriptions</span>[% END %]
140
                    </ul>
134
                [% END %]
141
                [% END %]
135
                [% IF CAN_user_updatecharges_remaining_permissions %]
142
                [% IF CAN_user_updatecharges_remaining_permissions %]
136
                    [% WRAPPER table_option value="accountlines:credit" %]Account lines (credit)[% END %]
143
                    <h3>Members</h3>
137
                    [% WRAPPER table_option value="accountlines:debit" %]Account lines (debit)[% END %]
144
                    <ul>
145
                        [% WRAPPER table_option value="accountlines:credit" %]Account lines (credit)[% END %]
146
                        [% WRAPPER table_option value="accountlines:debit" %]Account lines (debit)[% END %]
147
                    </ul>
138
                [% END %]
148
                [% END %]
139
                [% IF CAN_user_erm %]
149
                [% IF CAN_user_erm %]
140
                    [% WRAPPER table_option value="erm_licenses" %]ERM licenses[% END %]
150
                    <h3>E-resource management</h3>
141
                    [% WRAPPER table_option value="erm_agreements" %]ERM agreements[% END %]
151
                    <ul>
142
                    [% WRAPPER table_option value="erm_packages" %]ERM packages[% END %]
152
                        [% WRAPPER table_option value="erm_licenses" %]ERM licenses[% END %]
153
                        [% WRAPPER table_option value="erm_agreements" %]ERM agreements[% END %]
154
                        [% WRAPPER table_option value="erm_packages" %]ERM packages[% END %]
155
                    </ul>
143
                [% END %]
156
                [% END %]
144
            </ul>
145
            [% ELSE %]
157
            [% ELSE %]
146
                Additional permissions are required for editing additional fields
158
                Additional permissions are required for editing additional fields
147
            [% END %]
159
            [% END %]
148
- 

Return to bug 38662