|
Lines 163-193
if ( $run_report ) {
Link Here
|
| 163 |
push( |
163 |
push( |
| 164 |
@reservedata, |
164 |
@reservedata, |
| 165 |
{ |
165 |
{ |
| 166 |
reservedate => format_date( $data->{l_reservedate} ), |
166 |
reservedate => format_date( $data->{l_reservedate} ), |
| 167 |
priority => $data->{priority}, |
167 |
priority => $data->{priority}, |
| 168 |
name => $data->{l_patron}, |
168 |
name => $data->{l_patron}, |
| 169 |
title => $data->{title}, |
169 |
title => $data->{title}, |
| 170 |
author => $data->{author}, |
170 |
author => $data->{author}, |
| 171 |
borrowernumber => $data->{borrowernumber}, |
171 |
borrowernumber => $data->{borrowernumber}, |
| 172 |
itemnum => $data->{itemnumber}, |
172 |
itemnum => $data->{itemnumber}, |
| 173 |
phone => $data->{phone}, |
173 |
phone => $data->{phone}, |
| 174 |
email => $data->{email}, |
174 |
email => $data->{email}, |
| 175 |
biblionumber => $data->{biblionumber}, |
175 |
biblionumber => $data->{biblionumber}, |
| 176 |
statusw => ( $data->{found} eq "W" ), |
176 |
statusw => ( $data->{found} eq "W" ), |
| 177 |
statusf => ( $data->{found} eq "F" ), |
177 |
statusf => ( $data->{found} eq "F" ), |
| 178 |
holdingbranch => $data->{l_holdingbranch}, |
178 |
holdingbranch => $data->{l_holdingbranch}, |
| 179 |
branch => $data->{l_branch}, |
179 |
branch => $data->{l_branch}, |
| 180 |
itemcallnumber => $data->{l_itemcallnumber}, |
180 |
itemcallnumber => $data->{l_itemcallnumber}, |
| 181 |
enumchron => $data->{l_enumchron}, |
181 |
enumchron => $data->{l_enumchron}, |
| 182 |
copyno => $data->{l_copynumber}, |
182 |
copyno => $data->{l_copynumber}, |
| 183 |
notes => $data->{notes}, |
183 |
notes => $data->{notes}, |
| 184 |
notificationdate => $data->{notificationdate}, |
184 |
notificationdate=> $data->{notificationdate}, |
| 185 |
reminderdate => $data->{reminderdate}, |
185 |
reminderdate => $data->{reminderdate}, |
| 186 |
count => $data->{icount}, |
186 |
count => $data->{icount}, |
| 187 |
rcount => $data->{rcount}, |
187 |
rcount => $data->{rcount}, |
| 188 |
pullcount => $data->{icount} <= $data->{rcount} ? $data->{icount} : $data->{rcount}, |
188 |
pullcount => $data->{icount} <= $data->{rcount} ? $data->{icount} : $data->{rcount}, |
| 189 |
itype => $data->{l_itype}, |
189 |
itype => $data->{l_itype}, |
| 190 |
location => $data->{l_location} |
190 |
location => $data->{l_location}, |
| 191 |
} |
191 |
} |
| 192 |
); |
192 |
); |
| 193 |
} |
193 |
} |
|
Lines 195-208
if ( $run_report ) {
Link Here
|
| 195 |
} |
195 |
} |
| 196 |
|
196 |
|
| 197 |
$template->param( |
197 |
$template->param( |
| 198 |
todaysdate => format_date($todaysdate), |
198 |
todaysdate => format_date($todaysdate), |
| 199 |
from => $startdate, |
199 |
from => $startdate, |
| 200 |
to => $enddate, |
200 |
to => $enddate, |
| 201 |
run_report => $run_report, |
201 |
run_report => $run_report, |
| 202 |
reserveloop => \@reservedata, |
202 |
reserveloop => \@reservedata, |
| 203 |
"BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1, |
203 |
"BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1, |
| 204 |
DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), |
204 |
DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), |
| 205 |
dateformat => C4::Context->preference("dateformat"), |
205 |
dateformat => C4::Context->preference("dateformat"), |
|
|
206 |
HoldsToPullStartDate => (C4::Context->preference('HoldsToPullStartDate')?C4::Context->preference('HoldsToPullStartDate'):2), |
| 206 |
); |
207 |
); |
| 207 |
|
208 |
|
| 208 |
output_html_with_http_headers $input, $cookie, $template->output; |
209 |
output_html_with_http_headers $input, $cookie, $template->output; |