|
Lines 194-200
my @order_content = (
Link Here
|
| 194 |
biblionumber => $biblionumber1, |
194 |
biblionumber => $biblionumber1, |
| 195 |
budget_id => $budget->{budget_id}, |
195 |
budget_id => $budget->{budget_id}, |
| 196 |
uncertainprice => 0, |
196 |
uncertainprice => 0, |
| 197 |
notes => "some notes", |
197 |
order_internalnote => "internal note", |
|
|
198 |
order_vendornote => "vendor note" |
| 198 |
}, |
199 |
}, |
| 199 |
num => { |
200 |
num => { |
| 200 |
quantity => 24, |
201 |
quantity => 24, |
|
Lines 219-225
my @order_content = (
Link Here
|
| 219 |
biblionumber => $biblionumber2, |
220 |
biblionumber => $biblionumber2, |
| 220 |
budget_id => $budget->{budget_id}, |
221 |
budget_id => $budget->{budget_id}, |
| 221 |
uncertainprice => 0, |
222 |
uncertainprice => 0, |
| 222 |
notes => "ordernotes" |
223 |
order_internalnote => "internal note", |
|
|
224 |
order_vendornote => "vendor note" |
| 223 |
}, |
225 |
}, |
| 224 |
num => { |
226 |
num => { |
| 225 |
quantity => 4, |
227 |
quantity => 4, |
|
Lines 237-243
my @order_content = (
Link Here
|
| 237 |
basketno => $basketno, |
239 |
basketno => $basketno, |
| 238 |
biblionumber => $biblionumber3, |
240 |
biblionumber => $biblionumber3, |
| 239 |
budget_id => $budget->{budget_id}, |
241 |
budget_id => $budget->{budget_id}, |
| 240 |
notes => "ordernotes" |
242 |
order_internalnote => "internal note", |
|
|
243 |
order_vendornote => "vendor note" |
| 241 |
}, |
244 |
}, |
| 242 |
num => { |
245 |
num => { |
| 243 |
quantity => 4, |
246 |
quantity => 4, |
|
Lines 256-262
my @order_content = (
Link Here
|
| 256 |
basketno => $basketno, |
259 |
basketno => $basketno, |
| 257 |
biblionumber => $biblionumber4, |
260 |
biblionumber => $biblionumber4, |
| 258 |
budget_id => $budget->{budget_id}, |
261 |
budget_id => $budget->{budget_id}, |
| 259 |
notes => "ordernotes" |
262 |
order_internalnote => "internal note", |
|
|
263 |
order_vendornote => "vendor note" |
| 260 |
}, |
264 |
}, |
| 261 |
num => { |
265 |
num => { |
| 262 |
quantity => 1, |
266 |
quantity => 1, |
|
Lines 345-350
ok(
Link Here
|
| 345 |
# |
349 |
# |
| 346 |
|
350 |
|
| 347 |
my @expectedfields = qw( |
351 |
my @expectedfields = qw( |
|
|
352 |
order_internalnote |
| 353 |
order_vendornote |
| 348 |
ordernumber |
354 |
ordernumber |
| 349 |
biblionumber |
355 |
biblionumber |
| 350 |
entrydate |
356 |
entrydate |
|
Lines 359-365
my @expectedfields = qw(
Link Here
|
| 359 |
quantityreceived |
365 |
quantityreceived |
| 360 |
cancelledby |
366 |
cancelledby |
| 361 |
datecancellationprinted |
367 |
datecancellationprinted |
| 362 |
notes |
|
|
| 363 |
supplierreference |
368 |
supplierreference |
| 364 |
purchaseordernumber |
369 |
purchaseordernumber |
| 365 |
basketno |
370 |
basketno |
|
Lines 427-432
is( join( " ", @$test_different_fields ),
Link Here
|
| 427 |
# |
432 |
# |
| 428 |
|
433 |
|
| 429 |
my @base_expectedfields = qw( |
434 |
my @base_expectedfields = qw( |
|
|
435 |
order_internalnote |
| 436 |
order_vendornote |
| 437 |
notes |
| 430 |
ordernumber |
438 |
ordernumber |
| 431 |
ecost |
439 |
ecost |
| 432 |
uncertainprice |
440 |
uncertainprice |
|
Lines 468-474
my @base_expectedfields = qw(
Link Here
|
| 468 |
subscriptionid |
476 |
subscriptionid |
| 469 |
editionresponsibility |
477 |
editionresponsibility |
| 470 |
sort2 |
478 |
sort2 |
| 471 |
notes |
|
|
| 472 |
volumedate |
479 |
volumedate |
| 473 |
budget_id |
480 |
budget_id |
| 474 |
illus |
481 |
illus |
|
Lines 584-589
ok(
Link Here
|
| 584 |
# |
591 |
# |
| 585 |
|
592 |
|
| 586 |
@expectedfields = qw ( |
593 |
@expectedfields = qw ( |
|
|
594 |
order_internalnote |
| 595 |
order_vendornote |
| 596 |
notes |
| 587 |
basketgroupid |
597 |
basketgroupid |
| 588 |
basketgroupname |
598 |
basketgroupname |
| 589 |
firstname |
599 |
firstname |
|
Lines 635-641
ok(
Link Here
|
| 635 |
subscriptionid |
645 |
subscriptionid |
| 636 |
frameworkcode |
646 |
frameworkcode |
| 637 |
sort2 |
647 |
sort2 |
| 638 |
notes |
|
|
| 639 |
datecancellationprinted |
648 |
datecancellationprinted |
| 640 |
budget_id |
649 |
budget_id |
| 641 |
authorisedby |
650 |
authorisedby |
| 642 |
- |
|
|