Lines 257-264
sub GetBasketAsCSV {
Link Here
|
257 |
notes => $order->{'notes'}, |
257 |
notes => $order->{'notes'}, |
258 |
quantity => $order->{'quantity'}, |
258 |
quantity => $order->{'quantity'}, |
259 |
rrp => $order->{'rrp'}, |
259 |
rrp => $order->{'rrp'}, |
260 |
deliveryplace => $basket->{'deliveryplace'}, |
260 |
deliveryplace => C4::Branch::GetBranchName( $basket->{'deliveryplace'} ), |
261 |
billingplace => $basket->{'billingplace'} |
261 |
billingplace => C4::Branch::GetBranchName( $basket->{'billingplace'} ), |
262 |
}; |
262 |
}; |
263 |
foreach(qw( |
263 |
foreach(qw( |
264 |
contractname author title publishercode collectiontitle notes |
264 |
contractname author title publishercode collectiontitle notes |
Lines 307-312
sub GetBasketGroupAsCSV {
Link Here
|
307 |
my @orders = GetOrders( $$basket{basketno} ); |
307 |
my @orders = GetOrders( $$basket{basketno} ); |
308 |
my $contract = GetContract( $$basket{contractnumber} ); |
308 |
my $contract = GetContract( $$basket{contractnumber} ); |
309 |
my $bookseller = GetBookSellerFromId( $$basket{booksellerid} ); |
309 |
my $bookseller = GetBookSellerFromId( $$basket{booksellerid} ); |
|
|
310 |
my $basketgroup = GetBasketgroup( $$basket{basketgroupid} ); |
310 |
|
311 |
|
311 |
foreach my $order (@orders) { |
312 |
foreach my $order (@orders) { |
312 |
my $bd = GetBiblioData( $order->{'biblionumber'} ); |
313 |
my $bd = GetBiblioData( $order->{'biblionumber'} ); |
Lines 331-336
sub GetBasketGroupAsCSV {
Link Here
|
331 |
booksellerpostal => $bookseller->{postal}, |
332 |
booksellerpostal => $bookseller->{postal}, |
332 |
contractnumber => $contract->{contractnumber}, |
333 |
contractnumber => $contract->{contractnumber}, |
333 |
contractname => $contract->{contractname}, |
334 |
contractname => $contract->{contractname}, |
|
|
335 |
basketgroupdeliveryplace => C4::Branch::GetBranchName( $basketgroup->{deliveryplace} ) || C4::Branch::GetBranchName( $basketgroup->{freedeliveryplace} ), |
336 |
basketgroupbillingplace => C4::Branch::GetBranchName( $basketgroup->{billingplace} ), |
337 |
basketdeliveryplace => C4::Branch::GetBranchName( $basket->{deliveryplace} ), |
338 |
basketbillingplace => C4::Branch::GetBranchName( $basket->{billingplace} ), |
334 |
}; |
339 |
}; |
335 |
foreach(qw( |
340 |
foreach(qw( |
336 |
basketname author title publishercode collectiontitle notes |
341 |
basketname author title publishercode collectiontitle notes |