|
Lines 5-10
Link Here
|
| 5 |
[% USE AuthorisedValues %] |
5 |
[% USE AuthorisedValues %] |
| 6 |
[% USE Asset %] |
6 |
[% USE Asset %] |
| 7 |
[% USE raw %] |
7 |
[% USE raw %] |
|
|
8 |
[% USE TablesSettings %] |
| 8 |
[% PROCESS 'i18n.inc' %] |
9 |
[% PROCESS 'i18n.inc' %] |
| 9 |
[% SET footerjs = 1 %] |
10 |
[% SET footerjs = 1 %] |
| 10 |
[% INCLUDE 'doc-head-open.inc' %] |
11 |
[% INCLUDE 'doc-head-open.inc' %] |
|
Lines 207-214
Link Here
|
| 207 |
<table id="article-requests-requested-table"> |
208 |
<table id="article-requests-requested-table"> |
| 208 |
<thead> |
209 |
<thead> |
| 209 |
<tr> |
210 |
<tr> |
| 210 |
<th /> |
211 |
<th class="no-sort no-export"></th> |
| 211 |
<th class="ar-title">Title</th> |
212 |
<th class="ar-title anti-the">Title</th> |
| 212 |
<th class="ar-request">Requested article</th> |
213 |
<th class="ar-request">Requested article</th> |
| 213 |
<th class="ar-collection">Collection</th> |
214 |
<th class="ar-collection">Collection</th> |
| 214 |
<th class="ar-itemtype">Item type</th> |
215 |
<th class="ar-itemtype">Item type</th> |
|
Lines 314-321
Link Here
|
| 314 |
<table id="article-requests-pending-table"> |
315 |
<table id="article-requests-pending-table"> |
| 315 |
<thead> |
316 |
<thead> |
| 316 |
<tr> |
317 |
<tr> |
| 317 |
<th /> |
318 |
<th class="no-export no-sort"> </th> |
| 318 |
<th class="ar-title">Title</th> |
319 |
<th class="ar-title anti-the">Title</th> |
| 319 |
<th class="ar-request">Requested article</th> |
320 |
<th class="ar-request">Requested article</th> |
| 320 |
<th class="ar-collection">Collection</th> |
321 |
<th class="ar-collection">Collection</th> |
| 321 |
<th class="ar-itemtype">Item type</th> |
322 |
<th class="ar-itemtype">Item type</th> |
|
Lines 420-427
Link Here
|
| 420 |
<table id="article-requests-processing-table"> |
421 |
<table id="article-requests-processing-table"> |
| 421 |
<thead> |
422 |
<thead> |
| 422 |
<tr> |
423 |
<tr> |
| 423 |
<th /> |
424 |
<th class="no-export no-sort"> </th> |
| 424 |
<th class="ar-title">Title</th> |
425 |
<th class="ar-title anti-the">Title</th> |
| 425 |
<th class="ar-request">Requested article</th> |
426 |
<th class="ar-request">Requested article</th> |
| 426 |
<th class="ar-collection">Collection</th> |
427 |
<th class="ar-collection">Collection</th> |
| 427 |
<th class="ar-itemtype">Item type</th> |
428 |
<th class="ar-itemtype">Item type</th> |
|
Lines 574-586
Link Here
|
| 574 |
if( link.length > 0 ) link[0].focus(); |
575 |
if( link.length > 0 ) link[0].focus(); |
| 575 |
}); |
576 |
}); |
| 576 |
|
577 |
|
| 577 |
requested_datatable = $("#article-requests-requested-table").kohaTable(); |
578 |
let requested_table_settings = [% TablesSettings.GetTableSettings( 'circ', 'article-requests', 'article-requests-requested-table', 'json' ) | $raw %] |
|
|
579 |
let pending_table_settings = [% TablesSettings.GetTableSettings( 'circ', 'article-requests', 'article-requests-pending-table', 'json' ) | $raw %] |
| 580 |
let processing_table_settings = [% TablesSettings.GetTableSettings( 'circ', 'article-requests', 'article-requests-processing-table', 'json' ) | $raw %] |
| 581 |
|
| 582 |
requested_datatable = $("#article-requests-requested-table").kohaTable({}, requested_table_settings); |
| 578 |
requested_dt = requested_datatable.DataTable(); |
583 |
requested_dt = requested_datatable.DataTable(); |
| 579 |
|
584 |
|
| 580 |
pending_datatable = $("#article-requests-pending-table").kohaTable(); |
585 |
pending_datatable = $("#article-requests-pending-table").kohaTable({}, pending_table_settings); |
| 581 |
pending_dt = pending_datatable.DataTable(); |
586 |
pending_dt = pending_datatable.DataTable(); |
| 582 |
|
587 |
|
| 583 |
processing_datatable = $("#article-requests-processing-table").kohaTable(); |
588 |
processing_datatable = $("#article-requests-processing-table").kohaTable({}, processing_table_settings); |
| 584 |
processing_dt = processing_datatable.DataTable(); |
589 |
processing_dt = processing_datatable.DataTable(); |
| 585 |
|
590 |
|
| 586 |
active_datatable = requested_datatable; |
591 |
active_datatable = requested_datatable; |
| 587 |
- |
|
|