Lines 33-39
subtest 'add_item_status' => sub {
Link Here
|
33 |
my $item_marc_1 = C4::Items::GetMarcItem( $item_1->biblionumber, $item_1->itemnumber ); |
33 |
my $item_marc_1 = C4::Items::GetMarcItem( $item_1->biblionumber, $item_1->itemnumber ); |
34 |
my $item_field_1 = scalar $item_marc_1->field($itemtag); |
34 |
my $item_field_1 = scalar $item_marc_1->field($itemtag); |
35 |
$builder->build({ source => 'Reserve', value=> { itemnumber => $item_1->itemnumber } }); |
35 |
$builder->build({ source => 'Reserve', value=> { itemnumber => $item_1->itemnumber } }); |
36 |
$builder->build({ source => 'Branchtransfer', value=> { itemnumber => $item_1->itemnumber, datearrived => undef } }); |
36 |
$builder->build( |
|
|
37 |
{ |
38 |
source => 'Branchtransfer', |
39 |
value => { |
40 |
itemnumber => $item_1->itemnumber, |
41 |
datearrived => undef, |
42 |
datecancelled => undef |
43 |
} |
44 |
} |
45 |
); |
37 |
## END FIRST ITEM ## |
46 |
## END FIRST ITEM ## |
38 |
|
47 |
|
39 |
## SECOND ITEM HAS NO STATUSES ## |
48 |
## SECOND ITEM HAS NO STATUSES ## |