View | Details | Raw Unified | Return to bug 36193
Collapse All | Expand All

(-)a/acqui/finishreceive.pl (-2 / +7 lines)
Lines 36-44 use Koha::Number::Price; Link Here
36
use Koha::Acquisition::Booksellers;
36
use Koha::Acquisition::Booksellers;
37
use Koha::Acquisition::Orders;
37
use Koha::Acquisition::Orders;
38
38
39
my $input = CGI->new;
39
40
40
my $input=CGI->new;
41
if ( $input->request_method ne "POST" ) {
41
my $flagsrequired = {acquisition => 'order_receive'};
42
    print $input->header( -status => 400 );
43
    exit;
44
}
45
46
my $flagsrequired = { acquisition => 'order_receive' };
42
47
43
checkauth($input, 0, $flagsrequired, 'intranet');
48
checkauth($input, 0, $flagsrequired, 'intranet');
44
49
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-1 / +1 lines)
Lines 681-686 Link Here
681
            [% END %]
681
            [% END %]
682
682
683
            var _doSave = function(params) {
683
            var _doSave = function(params) {
684
                params.data.csrf_token = $('meta[name="csrf-token"]').attr('content');
684
                $.ajax($.extend({
685
                $.ajax($.extend({
685
                    method: 'POST',
686
                    method: 'POST',
686
                    url: '/cgi-bin/koha/acqui/finishreceive.pl'
687
                    url: '/cgi-bin/koha/acqui/finishreceive.pl'
687
- 

Return to bug 36193