Lines 42-50
my $item = $builder->build(
Link Here
|
42 |
} |
42 |
} |
43 |
); |
43 |
); |
44 |
|
44 |
|
|
|
45 |
my $patron_category = $builder->build({ source => 'Category', value => { categorycode => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); |
45 |
my $patron = $builder->build( |
46 |
my $patron = $builder->build( |
46 |
{ |
47 |
{ |
47 |
source => 'Borrower', |
48 |
source => 'Borrower', |
|
|
49 |
value => { |
50 |
patron_category => $patron_category->{categorycode}, |
51 |
} |
48 |
} |
52 |
} |
49 |
); |
53 |
); |
50 |
my $guarantee = $builder->build( |
54 |
my $guarantee = $builder->build( |
Lines 52-57
my $guarantee = $builder->build(
Link Here
|
52 |
source => 'Borrower', |
56 |
source => 'Borrower', |
53 |
value => { |
57 |
value => { |
54 |
guarantorid => $patron->{borrowernumber}, |
58 |
guarantorid => $patron->{borrowernumber}, |
|
|
59 |
patron_category => $patron_category->{categorycode}, |
55 |
} |
60 |
} |
56 |
} |
61 |
} |
57 |
); |
62 |
); |
58 |
- |
|
|