|
Lines 210-215
sub build_sample_item {
Link Here
|
| 210 |
)->store->get_from_storage; |
210 |
)->store->get_from_storage; |
| 211 |
} |
211 |
} |
| 212 |
|
212 |
|
|
|
213 |
sub build_sample_ill_request { |
| 214 |
my ( $self, $args ) = @_; |
| 215 |
|
| 216 |
$args->{biblio_id} = $args->{biblio_id} || $self->build_sample_biblio->biblionumber; |
| 217 |
$args->{backend} = $args->{backend} || 'FreeForm'; |
| 218 |
$args->{branchcode} = $args->{branchcode} || $self->build_object( { class => 'Koha::Libraries' } )->branchcode; |
| 219 |
|
| 220 |
return $self->build( |
| 221 |
{ |
| 222 |
source => 'Illrequest', |
| 223 |
value => $args, |
| 224 |
} |
| 225 |
); |
| 226 |
} |
| 227 |
|
| 213 |
# ------------------------------------------------------------------------------ |
228 |
# ------------------------------------------------------------------------------ |
| 214 |
# Internal helper routines |
229 |
# Internal helper routines |
| 215 |
|
230 |
|
| 216 |
- |
|
|