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 |
- |
|
|