Lines 45-57
my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( {
Link Here
|
45 |
flagsrequired => { 'acquisition' => 'order_manage' }, |
45 |
flagsrequired => { 'acquisition' => 'order_manage' }, |
46 |
} ); |
46 |
} ); |
47 |
|
47 |
|
48 |
my $op = $input->param('op') || q{}; |
48 |
my $op = $input->param('op') || q{}; |
49 |
my $ordernumber = $input->param('ordernumber'); |
49 |
my $ordernumber = $input->param('ordernumber'); |
50 |
my $biblionumber = $input->param('biblionumber'); |
50 |
my $biblionumber = $input->param('biblionumber'); |
51 |
my $order = Koha::Acquisition::Orders->find($ordernumber); |
51 |
my $order = Koha::Acquisition::Orders->find($ordernumber); |
52 |
my $basketno = $order->basketno; |
52 |
my $basketno = $order->basketno; |
53 |
my $basket = Koha::Acquisition::Baskets->find({ basketno => $basketno }, { prefetch => 'booksellerid' }); |
53 |
my $basket = Koha::Acquisition::Baskets->find( { basketno => $basketno }, { prefetch => 'booksellerid' } ); |
54 |
my $referrer = $input->param('referrer') || $input->referer; |
54 |
my $referrer = $input->param('referrer') || $input->referer; |
55 |
my $delete_biblio = $input->param('del_biblio') ? 1 : 0; |
55 |
my $delete_biblio = $input->param('del_biblio') ? 1 : 0; |
56 |
|
56 |
|
57 |
if( $op eq "cud-confirmcancel" ) { |
57 |
if( $op eq "cud-confirmcancel" ) { |
58 |
- |
|
|