@@ -, +, @@ --- C4/SIP/ILS.pm | 4 +++- C4/SIP/ILS/Transaction.pm | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) --- a/C4/SIP/ILS.pm +++ a/C4/SIP/ILS.pm @@ -126,7 +126,7 @@ sub offline_ok { # the response. # sub checkout { - my ( $self, $patron_id, $item_id, $sc_renew, $fee_ack ) = @_; + my ( $self, $patron_id, $item_id, $sc_renew, $fee_ack, $branch ) = @_; my ( $patron, $item, $circ ); $circ = C4::SIP::ILS::Transaction::Checkout->new(); @@ -134,6 +134,8 @@ sub checkout { # BEGIN TRANSACTION $circ->patron( $patron = C4::SIP::ILS::Patron->new($patron_id) ); $circ->item( $item = C4::SIP::ILS::Item->new($item_id) ); + $circ->branch( $branch ); + if ($fee_ack) { $circ->fee_ack($fee_ack); } --- a/C4/SIP/ILS/Transaction.pm +++ a/C4/SIP/ILS/Transaction.pm @@ -15,6 +15,7 @@ my %fields = ( ok => 0, patron => undef, item => undef, + branch => undef, desensitize => 0, alert => '', transaction_id=> undef, @@ -23,7 +24,7 @@ my %fields = ( sip_currency => 'USD', # FIXME: why hardcoded? screen_msg => '', print_line => '', - fee_ack => 'N', + fee_ack => 'N', ); our $AUTOLOAD; --