Lines 29-35
use CGI;
Link Here
|
29 |
use C4::Acquisition; |
29 |
use C4::Acquisition; |
30 |
use C4::Budgets; |
30 |
use C4::Budgets; |
31 |
use C4::Bookseller qw( GetBookSellerFromId); |
31 |
use C4::Bookseller qw( GetBookSellerFromId); |
32 |
use C4::Dates qw/format_date/; |
|
|
33 |
use C4::Debug; |
32 |
use C4::Debug; |
34 |
use C4::Biblio; |
33 |
use C4::Biblio; |
35 |
use C4::Members qw/GetMember/; #needed for permissions checking for changing basketgroup of a basket |
34 |
use C4::Members qw/GetMember/; #needed for permissions checking for changing basketgroup of a basket |
Lines 126-135
if ( $op eq 'delete_confirm' ) {
Link Here
|
126 |
basketbooksellernote => $basket->{booksellernote}, |
125 |
basketbooksellernote => $basket->{booksellernote}, |
127 |
basketcontractno => $basket->{contractnumber}, |
126 |
basketcontractno => $basket->{contractnumber}, |
128 |
basketcontractname => $contract->{contractname}, |
127 |
basketcontractname => $contract->{contractname}, |
129 |
creationdate => format_date( $basket->{creationdate} ), |
128 |
creationdate => $basket->{creationdate}, |
130 |
authorisedby => $basket->{authorisedby}, |
129 |
authorisedby => $basket->{authorisedby}, |
131 |
authorisedbyname => $basket->{authorisedbyname}, |
130 |
authorisedbyname => $basket->{authorisedbyname}, |
132 |
closedate => format_date( $basket->{closedate} ), |
131 |
closedate => $basket->{closedate}, |
133 |
active => $bookseller->{'active'}, |
132 |
active => $bookseller->{'active'}, |
134 |
booksellerid => $bookseller->{'id'}, |
133 |
booksellerid => $bookseller->{'id'}, |
135 |
name => $bookseller->{'name'}, |
134 |
name => $bookseller->{'name'}, |
Lines 364-377
my $total_est_gste;
Link Here
|
364 |
basketbooksellernote => $basket->{booksellernote}, |
363 |
basketbooksellernote => $basket->{booksellernote}, |
365 |
basketcontractno => $basket->{contractnumber}, |
364 |
basketcontractno => $basket->{contractnumber}, |
366 |
basketcontractname => $contract->{contractname}, |
365 |
basketcontractname => $contract->{contractname}, |
367 |
creationdate => C4::Dates->new($basket->{creationdate},'iso')->output, |
366 |
creationdate => $basket->{creationdate}, |
368 |
authorisedby => $basket->{authorisedby}, |
367 |
authorisedby => $basket->{authorisedby}, |
369 |
authorisedbyname => $basket->{authorisedbyname}, |
368 |
authorisedbyname => $basket->{authorisedbyname}, |
370 |
closedate => C4::Dates->new($basket->{closedate},'iso')->output, |
369 |
closedate => $basket->{closedate}, |
371 |
active => $bookseller->{'active'}, |
370 |
active => $bookseller->{'active'}, |
372 |
booksellerid => $bookseller->{'id'}, |
371 |
booksellerid => $bookseller->{'id'}, |
373 |
name => $bookseller->{'name'}, |
372 |
name => $bookseller->{'name'}, |
374 |
entrydate => C4::Dates->new($results[0]->{'entrydate'},'iso')->output, |
|
|
375 |
books_loop => \@books_loop, |
373 |
books_loop => \@books_loop, |
376 |
cancelledorders_loop => \@cancelledorders, |
374 |
cancelledorders_loop => \@cancelledorders, |
377 |
gist_rate => sprintf( "%.2f", $gist * 100 ) . '%', |
375 |
gist_rate => sprintf( "%.2f", $gist * 100 ) . '%', |