Lines 126-132
sub offline_ok {
Link Here
|
126 |
# the response. |
126 |
# the response. |
127 |
# |
127 |
# |
128 |
sub checkout { |
128 |
sub checkout { |
129 |
my ( $self, $patron_id, $item_id, $sc_renew, $fee_ack ) = @_; |
129 |
my ( $self, $patron_id, $item_id, $sc_renew, $fee_ack, $branch ) = @_; |
130 |
my ( $patron, $item, $circ ); |
130 |
my ( $patron, $item, $circ ); |
131 |
|
131 |
|
132 |
$circ = C4::SIP::ILS::Transaction::Checkout->new(); |
132 |
$circ = C4::SIP::ILS::Transaction::Checkout->new(); |
Lines 134-139
sub checkout {
Link Here
|
134 |
# BEGIN TRANSACTION |
134 |
# BEGIN TRANSACTION |
135 |
$circ->patron( $patron = C4::SIP::ILS::Patron->new($patron_id) ); |
135 |
$circ->patron( $patron = C4::SIP::ILS::Patron->new($patron_id) ); |
136 |
$circ->item( $item = C4::SIP::ILS::Item->new($item_id) ); |
136 |
$circ->item( $item = C4::SIP::ILS::Item->new($item_id) ); |
|
|
137 |
$circ->branch( $branch ); |
138 |
|
137 |
if ($fee_ack) { |
139 |
if ($fee_ack) { |
138 |
$circ->fee_ack($fee_ack); |
140 |
$circ->fee_ack($fee_ack); |
139 |
} |
141 |
} |