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

(-)a/circ/pendingreserves.pl (-2 / +2 lines)
Lines 166-172 if ( $run_report ) { Link Here
166
        push(
166
        push(
167
            @reservedata,
167
            @reservedata,
168
            {
168
            {
169
                reservedate     => format_date( $data->{l_reservedate} ),
169
                reservedate     => $data->{l_reservedate},
170
                priority        => $data->{priority},
170
                priority        => $data->{priority},
171
                name            => $data->{l_patron},
171
                name            => $data->{l_patron},
172
                title           => $data->{title},
172
                title           => $data->{title},
Lines 198-204 if ( $run_report ) { Link Here
198
}
198
}
199
199
200
$template->param(
200
$template->param(
201
    todaysdate          => format_date($todaysdate),
201
    todaysdate          => $todaysdate,
202
    from                => $startdate,
202
    from                => $startdate,
203
    to                  => $enddate,
203
    to                  => $enddate,
204
    run_report          => $run_report,
204
    run_report          => $run_report,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-15 / +14 lines)
Lines 1-3 Link Here
1
[% USE KohaDates %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Circulation &rsaquo; Holds to pull</title>
3
<title>Koha &rsaquo; Circulation &rsaquo; Holds to pull</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
Lines 5-17 Link Here
5
<!-- Plugin datatables -->
6
<!-- Plugin datatables -->
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
7
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
7
[% INCLUDE 'datatables.inc' %]
8
[% INCLUDE 'datatables.inc' %]
8
<script type="text/JavaScript" language="JavaScript">
9
<script type="text/JavaScript">
9
//<![CDATA[
10
//<![CDATA[
10
$(document).ready(function() {
11
$(document).ready(function() {
11
  [% IF (dateformat == 'metric') %]
12
      dt_add_type_uk_date();
13
  [% END %]
14
  var holdst = $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
12
  var holdst = $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
13
    "aoColumnDefs": [
14
        { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
15
        { "sType": "title-string", "aTargets" : [ "title-string" ] }
16
    ]
15
  }));
17
  }));
16
  holdst.fnAddFilters("filter");
18
  holdst.fnAddFilters("filter");
17
  [%# add separateData function to cleanse jQuery select lists by breaking apart strings glued with BR tags and then de-duplicating any repeated library codes %]
19
  [%# add separateData function to cleanse jQuery select lists by breaking apart strings glued with BR tags and then de-duplicating any repeated library codes %]
Lines 80-86 $(document).ready(function() { Link Here
80
82
81
<h2>Holds to pull[% IF ( run_report ) %] placed between [% from %] and [% to %][% END %]</h2>
83
<h2>Holds to pull[% IF ( run_report ) %] placed between [% from %] and [% to %][% END %]</h2>
82
[% IF ( run_report ) %]
84
[% IF ( run_report ) %]
83
<h3>Reported on [% todaysdate %]</h3>
85
<h3>Reported on [% todaysdate | $KohaDates %]</h3>
84
<p>The following holds have not been filled. Please retrieve them and check them in.</p>
86
<p>The following holds have not been filled. Please retrieve them and check them in.</p>
85
<div class="searchresults">
87
<div class="searchresults">
86
    [% IF ( reserveloop ) %]
88
    [% IF ( reserveloop ) %]
Lines 90-103 $(document).ready(function() { Link Here
90
        <th>Pull this many items</th>
92
        <th>Pull this many items</th>
91
        <th>Items available</th>
93
        <th>Items available</th>
92
        <th>Patrons with holds</th>
94
        <th>Patrons with holds</th>
93
        <th>Title</th>
95
        <th class="anti-the">Title</th>
94
        <th>Libraries</th>
96
        <th>Libraries</th>
95
        <th>Available call numbers</th>
97
        <th>Available call numbers</th>
96
        <th>Available copy numbers</th>
98
        <th>Available copy numbers</th>
97
        <th>Available enumeration</th>
99
        <th>Available enumeration</th>
98
        <th>Available itypes</th>
100
        <th>Available itypes</th>
99
        <th>Available locations</th>
101
        <th>Available locations</th>
100
        <th>Earliest hold date</th>
102
        <th class="title-string">Earliest hold date</th>
101
        </tr>
103
        </tr>
102
    </thead>
104
    </thead>
103
    <tbody>
105
    <tbody>
Lines 109-118 $(document).ready(function() { Link Here
109
            <td>[% reserveloo.rcount %]</td>
111
            <td>[% reserveloo.rcount %]</td>
110
            <td>
112
            <td>
111
            <p>
113
            <p>
112
        [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
114
                [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
113
                    [% reserveloo.title |html %]
115
                [% reserveloo.title |html %]</a></p>
114
                </a> [% IF ( reserveloo.author ) %]<p> by [% reserveloo.author %]</p>[% END %]
116
                [% IF ( reserveloo.author ) %]<p> by [% reserveloo.author %]</p>[% END %]
115
            </p>
116
            </td>
117
            </td>
117
        [% ELSE %]
118
        [% ELSE %]
118
            <td>"</td>
119
            <td>"</td>
Lines 126-134 $(document).ready(function() { Link Here
126
        <td><p>[% reserveloo.enumchron %]</p></td>
127
        <td><p>[% reserveloo.enumchron %]</p></td>
127
        <td>[% reserveloo.itype %]</td>
128
        <td>[% reserveloo.itype %]</td>
128
        <td>[% reserveloo.location %]</td>
129
        <td>[% reserveloo.location %]</td>
129
        <td width="15%">
130
        <td>
130
            <p>[% reserveloo.reservedate %]</p>
131
            <span title="[% reserveloo.reservedate %]">[% reserveloo.reservedate | $KohaDates %] in [% reserveloo.branch %]</span>
131
            <p>in [% reserveloo.branch %]</p>
132
            [% IF ( reserveloo.statusw ) %]<p>Waiting</p>[% END %][% IF ( reserveloo.statusf ) %]<p>Fullfilled</p>[% END %]
132
            [% IF ( reserveloo.statusw ) %]<p>Waiting</p>[% END %][% IF ( reserveloo.statusf ) %]<p>Fullfilled</p>[% END %]
133
        </td>
133
        </td>
134
        </tr>
134
        </tr>
135
- 

Return to bug 12088