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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-6 / +3 lines)
Lines 154-160 Link Here
154
                                                                [% CASE "Barcode" %]
154
                                                                [% CASE "Barcode" %]
155
                                                                    <th>Barcode</th>
155
                                                                    <th>Barcode</th>
156
                                                                [% CASE "Select" -%]
156
                                                                [% CASE "Select" -%]
157
                                                                    <th>Select</th>
157
                                                                    <th class="NoSort">Select</th>
158
                                                                [% CASE "Actions" -%]
159
                                                                    <th class="NoSort">Actions</th>
158
                                                                [% CASE %]
160
                                                                [% CASE %]
159
                                                                    <th>[% header_field.field_label | html %]</th>
161
                                                                    <th>[% header_field.field_label | html %]</th>
160
                                                            [% END -%]
162
                                                            [% END -%]
Lines 170-176 Link Here
170
                                                            [% IF ( text_field.select_field ) %]
172
                                                            [% IF ( text_field.select_field ) %]
171
                                                                <td class="actions">
173
                                                                <td class="actions">
172
                                                                    <a class="btn btn-default btn-xs submit-form-link" id="deletebatch" href="#" data-op="cud-delete" data-batch_id="[% batch_id | html %]" data-label_id="[% text_field.field_value | html %]" data-method="post" data-action="/cgi-bin/koha/labels/label-edit-batch.pl" data-confirmation-msg="Are you sure you want to delete this?"><i class="fa fa-trash-can"></i> Delete</a>
174
                                                                    <a class="btn btn-default btn-xs submit-form-link" id="deletebatch" href="#" data-op="cud-delete" data-batch_id="[% batch_id | html %]" data-label_id="[% text_field.field_value | html %]" data-method="post" data-action="/cgi-bin/koha/labels/label-edit-batch.pl" data-confirmation-msg="Are you sure you want to delete this?"><i class="fa fa-trash-can"></i> Delete</a>
173
174
                                                                    <a class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id | html %]" data-label-id="[% text_field.field_value | html %]"><i class="fa-solid fa-share-from-square"></i> Export</a>
175
                                                                    <a class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id | html %]" data-label-id="[% text_field.field_value | html %]"><i class="fa-solid fa-share-from-square"></i> Export</a>
175
                                                                </td>
176
                                                                </td>
176
                                                                <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]"></td>
177
                                                                <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]"></td>
Lines 336-344 Link Here
336
            [% END %]
337
            [% END %]
337
            $("#batcht").kohaTable({
338
            $("#batcht").kohaTable({
338
                autoWidth: false,
339
                autoWidth: false,
339
                columnDefs: [
340
                    { targets: [-1, -2], orderable: false, searchable: false },
341
                ],
342
                order: [[0, "asc"]],
340
                order: [[0, "asc"]],
343
                pagingType: "full",
341
                pagingType: "full",
344
            });
342
            });
345
- 

Return to bug 38984