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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-batch-modal.inc (+1 lines)
Lines 74-79 Link Here
74
                                <th scope="col">Identifier value</th>
74
                                <th scope="col">Identifier value</th>
75
                                <th scope="col">Metadata</th>
75
                                <th scope="col">Metadata</th>
76
                                <th scope="col">Request ID</th>
76
                                <th scope="col">Request ID</th>
77
                                <th scope="col">Request Status</th>
77
                                <th scope="col"></th>
78
                                <th scope="col"></th>
78
                            </tr>
79
                            </tr>
79
                        </thead>
80
                        </thead>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/ill_batch_statuses.tt (-2 / +2 lines)
Lines 132-138 Link Here
132
                                [% FOREACH status IN statuses %]
132
                                [% FOREACH status IN statuses %]
133
                                <tr>
133
                                <tr>
134
                                    <td>[% status.name | html %]</td>
134
                                    <td>[% status.name | html %]</td>
135
                                    <td>[% name.code | html %]</td>
135
                                    <td>[% status.code | html %]</td>
136
                                    <td>[% status.is_system ? "Yes" : "No" | html %]</td>
136
                                    <td>[% status.is_system ? "Yes" : "No" | html %]</td>
137
                                    <td class="actions">
137
                                    <td class="actions">
138
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/ill_batch_statuses.pl?op=add_form&amp;code=[% status.code | uri %]"><i class="fa fa-pencil"></i> Edit</a>
138
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/ill_batch_statuses.pl?op=add_form&amp;code=[% status.code | uri %]"><i class="fa fa-pencil"></i> Edit</a>
Lines 146-152 Link Here
146
                        </table>
146
                        </table>
147
                    [% ELSE %]
147
                    [% ELSE %]
148
                        <div class="dialog message">
148
                        <div class="dialog message">
149
                            There are no batch statuses defined. <a href="/cgi-bin/koha/admin/debit_types.pl?op=add_form">Create new batch status</a>
149
                            There are no batch statuses defined. <a href="/cgi-bin/koha/admin/ill_batch_statuses.pl?op=add_form">Create new batch status</a>
150
                        </div>
150
                        </div>
151
                    [% END %]
151
                    [% END %]
152
                [% END %]
152
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-batch-modal.js (-2 / +11 lines)
Lines 299-304 Link Here
299
                tableContent.data = tableContent.data.map(function (row) {
299
                tableContent.data = tableContent.data.map(function (row) {
300
                    if (row.value === identifier) {
300
                    if (row.value === identifier) {
301
                        row.requestId = data.illrequest_id;
301
                        row.requestId = data.illrequest_id;
302
                        row.requestStatus = data.status;
302
                    }
303
                    }
303
                    return row;
304
                    return row;
304
                });
305
                });
Lines 893-898 Link Here
893
        return data.requestId || '-';
894
        return data.requestId || '-';
894
    }
895
    }
895
896
897
    function createRequestStatus(x, y, data) {
898
        return data.requestStatus || '-';
899
    }
900
896
    function buildTable(identifiers) {
901
    function buildTable(identifiers) {
897
        table = KohaTable('identifier-table', {
902
        table = KohaTable('identifier-table', {
898
            processing: true,
903
            processing: true,
Lines 918-926 Link Here
918
                },
923
                },
919
                {
924
                {
920
                    data: 'requestId',
925
                    data: 'requestId',
921
                    width: '13%',
926
                    width: '6.5%',
922
                    render: createRequestId
927
                    render: createRequestId
923
                },
928
                },
929
                {
930
                    data: 'requestStatus',
931
                    width: '6.5%',
932
                    render: createRequestStatus
933
                },
924
                {
934
                {
925
                    width: '18%',
935
                    width: '18%',
926
                    render: createActions,
936
                    render: createActions,
927
- 

Return to bug 30719