|
Lines 229-235
sub kocIssueItem {
Link Here
|
| 229 |
|
229 |
|
| 230 |
if ( Date_to_Days( $i_y, $i_m, $i_d ) < Date_to_Days( $c_y, $c_m, $c_d ) ) |
230 |
if ( Date_to_Days( $i_y, $i_m, $i_d ) < Date_to_Days( $c_y, $c_m, $c_d ) ) |
| 231 |
{ ## Current issue to a different persion is older than this issue, return and issue. |
231 |
{ ## Current issue to a different persion is older than this issue, return and issue. |
| 232 |
C4::Circulation::AddIssue( $patron, $circ->{'barcode'}, undef, undef, $circ->{'date'} ) unless (DEBUG); |
232 |
C4::Circulation::AddIssue( |
|
|
233 |
$patron, $circ->{'barcode'}, undef, undef, $circ->{'date'}, undef, |
| 234 |
{ forced => ['OFFLINE_CIRCULATION'] } |
| 235 |
) unless (DEBUG); |
| 233 |
push @output, { |
236 |
push @output, { |
| 234 |
issue => 1, |
237 |
issue => 1, |
| 235 |
title => $biblio->title, |
238 |
title => $biblio->title, |
|
Lines 250-256
sub kocIssueItem {
Link Here
|
| 250 |
} |
253 |
} |
| 251 |
} |
254 |
} |
| 252 |
} else { ## Item is not checked out to anyone at the moment, go ahead and issue it |
255 |
} else { ## Item is not checked out to anyone at the moment, go ahead and issue it |
| 253 |
C4::Circulation::AddIssue( $patron, $circ->{'barcode'}, undef, undef, $circ->{'date'} ) unless (DEBUG); |
256 |
C4::Circulation::AddIssue( |
|
|
257 |
$patron, $circ->{'barcode'}, undef, undef, $circ->{'date'}, undef, |
| 258 |
{ forced => ['OFFLINE_CIRCULATION'] } |
| 259 |
) unless (DEBUG); |
| 254 |
push @output, { |
260 |
push @output, { |
| 255 |
issue => 1, |
261 |
issue => 1, |
| 256 |
title => $biblio->title, |
262 |
title => $biblio->title, |
| 257 |
- |
|
|