|
Lines 888-967
Link Here
|
| 888 |
</thead> |
888 |
</thead> |
| 889 |
|
889 |
|
| 890 |
<tbody> |
890 |
<tbody> |
| 891 |
<tr> |
|
|
| 892 |
[% FOREACH ar IN current_article_requests %] |
891 |
[% FOREACH ar IN current_article_requests %] |
| 893 |
<td class="article-request-record-title"> |
892 |
<tr> |
| 894 |
[% INCLUDE 'biblio-title.inc' biblio=ar.biblio link=> 1 %] |
893 |
<td class="article-request-record-title"> |
| 895 |
[% ar.item.enumchron | html %] |
894 |
[% INCLUDE 'biblio-title.inc' biblio=ar.biblio link=> 1 %] |
| 896 |
[% ar.biblio.author | html %] |
895 |
[% ar.item.enumchron | html %] |
| 897 |
[% IF ar.itemnumber %] <em>(only [% ar.item.barcode | html %])</em>[% END %] |
896 |
[% ar.biblio.author | html %] |
| 898 |
</td> |
897 |
[% IF ar.itemnumber %] <em>(only [% ar.item.barcode | html %])</em>[% END %] |
| 899 |
|
898 |
</td> |
| 900 |
<td class="article-request-created_on"> |
899 |
|
| 901 |
[% ar.created_on | $KohaDates %] |
900 |
<td class="article-request-created_on"> |
| 902 |
</td> |
901 |
[% ar.created_on | $KohaDates %] |
| 903 |
|
902 |
</td> |
| 904 |
<td class="article-request-title"> |
903 |
|
| 905 |
[% ar.title | html %] |
904 |
<td class="article-request-title"> |
| 906 |
</td> |
905 |
[% ar.title | html %] |
| 907 |
|
906 |
</td> |
| 908 |
<td class="article-request-author"> |
907 |
|
| 909 |
[% ar.author | html %] |
908 |
<td class="article-request-author"> |
| 910 |
</td> |
909 |
[% ar.author | html %] |
| 911 |
|
910 |
</td> |
| 912 |
<td class="article-request-volume"> |
911 |
|
| 913 |
[% ar.volume | html %] |
912 |
<td class="article-request-volume"> |
| 914 |
</td> |
913 |
[% ar.volume | html %] |
| 915 |
|
914 |
</td> |
| 916 |
<td class="article-request-issue"> |
915 |
|
| 917 |
[% ar.issue | html %] |
916 |
<td class="article-request-issue"> |
| 918 |
</td> |
917 |
[% ar.issue | html %] |
| 919 |
|
918 |
</td> |
| 920 |
<td class="article-request-date"> |
919 |
|
| 921 |
[% ar.date | html %] |
920 |
<td class="article-request-date"> |
| 922 |
</td> |
921 |
[% ar.date | html %] |
| 923 |
|
922 |
</td> |
| 924 |
<td class="article-request-toc"> |
923 |
|
| 925 |
[% IF ar.toc_request %]Yes[% END %] |
924 |
<td class="article-request-toc"> |
| 926 |
</td> |
925 |
[% IF ar.toc_request %]Yes[% END %] |
| 927 |
|
926 |
</td> |
| 928 |
<td class="article-request-pages"> |
927 |
|
| 929 |
[% ar.pages | html %] |
928 |
<td class="article-request-pages"> |
| 930 |
</td> |
929 |
[% ar.pages | html %] |
| 931 |
|
930 |
</td> |
| 932 |
<td class="article-request-chapters"> |
931 |
|
| 933 |
[% ar.chapters | html %] |
932 |
<td class="article-request-chapters"> |
| 934 |
</td> |
933 |
[% ar.chapters | html %] |
| 935 |
|
934 |
</td> |
| 936 |
<td class="article-request-patron-notes"> |
935 |
|
| 937 |
[% ar.patron_notes | html %] |
936 |
<td class="article-request-patron-notes"> |
| 938 |
</td> |
937 |
[% ar.patron_notes | html %] |
|
|
938 |
</td> |
| 939 |
|
| 940 |
<td class="article-request-format">[% IF ar.format == 'PHOTOCOPY' %]<span>Copy</span>[% ELSIF ar.format == 'SCAN' %]<span>Scan</span>[% END %]</td> |
| 941 |
|
| 942 |
<td class="article-request-status"> |
| 943 |
[% IF ar.status == 'PENDING' %] |
| 944 |
<span>Pending</span> |
| 945 |
[% ELSIF ar.status == 'PROCESSING' %] |
| 946 |
<span>Processing</span> |
| 947 |
[% ELSIF ar.status == 'REQUESTED' %] |
| 948 |
<span>New</span> |
| 949 |
[% ELSIF ar.status == 'COMPLETED' %] |
| 950 |
<span>Completed</span> |
| 951 |
[% ELSIF ar.status == 'CANCELED' %] |
| 952 |
<span>Canceled</span> |
| 953 |
[% END %] |
| 954 |
</td> |
| 939 |
|
955 |
|
| 940 |
<td class="article-request-format">[% IF ar.format == 'PHOTOCOPY' %]<span>Copy</span>[% ELSIF ar.format == 'SCAN' %]<span>Scan</span>[% END %]</td> |
956 |
<td class="article-request-branchcode"> |
| 941 |
|
957 |
[% ar.branch.branchname | html %] |
| 942 |
<td class="article-request-status"> |
958 |
</td> |
| 943 |
[% IF ar.status == 'PENDING' %] |
|
|
| 944 |
<span>Pending</span> |
| 945 |
[% ELSIF ar.status == 'PROCESSING' %] |
| 946 |
<span>Processing</span> |
| 947 |
[% ELSIF ar.status == 'REQUESTED' %] |
| 948 |
<span>New</span> |
| 949 |
[% ELSIF ar.status == 'COMPLETED' %] |
| 950 |
<span>Completed</span> |
| 951 |
[% ELSIF ar.status == 'CANCELED' %] |
| 952 |
<span>Canceled</span> |
| 953 |
[% END %] |
| 954 |
</td> |
| 955 |
|
959 |
|
| 956 |
<td class="article-request-branchcode"> |
960 |
<td class="article-request-cancel"> |
| 957 |
[% ar.branch.branchname | html %] |
961 |
<button data-title="[% ar.biblio.title | html %] [% ar.item.enumchron | html %]" data-article-request_id="[% ar.id | html %]" class="btn btn-sm btn-danger btn-delete-article-request"><i class="fa fa-remove" aria-hidden="true"></i> Cancel</button> |
| 958 |
</td> |
962 |
</td> |
| 959 |
|
963 |
</tr> |
| 960 |
<td class="article-request-cancel"> |
|
|
| 961 |
<button data-title="[% ar.biblio.title | html %] [% ar.item.enumchron | html %]" data-article-request_id="[% ar.id | html %]" class="btn btn-sm btn-danger btn-delete-article-request"><i class="fa fa-remove" aria-hidden="true"></i> Cancel</button> |
| 962 |
</td> |
| 963 |
[% END %] |
964 |
[% END %] |
| 964 |
</tr> |
|
|
| 965 |
</tbody> |
965 |
</tbody> |
| 966 |
</table> |
966 |
</table> |
| 967 |
[% ELSE %] |
967 |
[% ELSE %] |
| 968 |
- |
|
|