Lines 35-40
use CGI;
Link Here
|
35 |
use C4::Auth; |
35 |
use C4::Auth; |
36 |
use C4::Output; |
36 |
use C4::Output; |
37 |
use C4::Acquisition; |
37 |
use C4::Acquisition; |
|
|
38 |
use Koha::Acquisition::Baskets; |
38 |
|
39 |
|
39 |
my $input = new CGI; |
40 |
my $input = new CGI; |
40 |
my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { |
41 |
my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { |
Lines 50-56
my $action = $input->param('action');
Link Here
|
50 |
my $ordernumber = $input->param('ordernumber'); |
51 |
my $ordernumber = $input->param('ordernumber'); |
51 |
my $biblionumber = $input->param('biblionumber'); |
52 |
my $biblionumber = $input->param('biblionumber'); |
52 |
my $basketno = $input->param('basketno'); |
53 |
my $basketno = $input->param('basketno'); |
53 |
my $basket = Koha::Database->new()->schema()->resultset('Aqbasket')->find($basketno); |
54 |
my $basket = Koha::Acquisition::Baskets->find({ basketno => $basketno }, { prefetch => 'booksellerid' }); |
54 |
my $referrer = $input->param('referrer') || $input->referer; |
55 |
my $referrer = $input->param('referrer') || $input->referer; |
55 |
my $del_biblio = $input->param('del_biblio') ? 1 : 0; |
56 |
my $del_biblio = $input->param('del_biblio') ? 1 : 0; |
56 |
|
57 |
|