Lines 18-23
my $library = $builder->build({
Link Here
|
18 |
source => "Branch", |
18 |
source => "Branch", |
19 |
}); |
19 |
}); |
20 |
my $patron_category = $builder->build({ source => 'Category' }); |
20 |
my $patron_category = $builder->build({ source => 'Category' }); |
|
|
21 |
my $currency = $builder->build({ source => 'Currency' }); |
21 |
|
22 |
|
22 |
# Creating some orders |
23 |
# Creating some orders |
23 |
my $bookseller = Koha::Acquisition::Bookseller->new( |
24 |
my $bookseller = Koha::Acquisition::Bookseller->new( |
Lines 49-55
my $order = Koha::Acquisition::Order->new(
Link Here
|
49 |
biblionumber => $biblionumber, |
50 |
biblionumber => $biblionumber, |
50 |
budget_id => $budgetid, |
51 |
budget_id => $budgetid, |
51 |
entrydate => '01-01-2014', |
52 |
entrydate => '01-01-2014', |
52 |
currency => 'EUR', |
53 |
currency => $currency->{currency}, |
53 |
notes => "This is a note1", |
54 |
notes => "This is a note1", |
54 |
orderstatus => 1, |
55 |
orderstatus => 1, |
55 |
quantityreceived => 0, |
56 |
quantityreceived => 0, |
56 |
- |
|
|