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

(-)a/C4/SIP/ILS.pm (-1 / +3 lines)
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
    }
(-)a/C4/SIP/ILS/Transaction.pm (-2 / +2 lines)
Lines 15-20 my %fields = ( Link Here
15
	ok            => 0,
15
	ok            => 0,
16
	patron        => undef,
16
	patron        => undef,
17
	item          => undef,
17
	item          => undef,
18
	branch        => undef,
18
	desensitize   => 0,
19
	desensitize   => 0,
19
	alert         => '',
20
	alert         => '',
20
	transaction_id=> undef,
21
	transaction_id=> undef,
Lines 23-29 my %fields = ( Link Here
23
	sip_currency  => 'USD', # FIXME: why hardcoded?
24
	sip_currency  => 'USD', # FIXME: why hardcoded?
24
	screen_msg    => '',
25
	screen_msg    => '',
25
	print_line    => '',
26
	print_line    => '',
26
    fee_ack       => 'N',
27
	fee_ack       => 'N',
27
);
28
);
28
29
29
our $AUTOLOAD;
30
our $AUTOLOAD;
30
- 

Return to bug 21326