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

(-)a/Koha/ImportBatch.pm (-1 / +1 lines)
Lines 121-127 sub new_from_file { Link Here
121
        if ( $num_valid && $job ) {
121
        if ( $num_valid && $job ) {
122
            $job->set( { progress => $num_valid, size => $num_valid } );
122
            $job->set( { progress => $num_valid, size => $num_valid } );
123
        } else {    # We must assume that something went wrong here
123
        } else {    # We must assume that something went wrong here
124
            $job->set( { progress => 0, status => 'failed' } );
124
            $job->set( { progress => 0, status => 'failed' } ) if $job;
125
        }
125
        }
126
126
127
        if ($profile_id) {
127
        if ($profile_id) {
(-)a/api/v1/swagger/paths/acquisitions_vendors.yaml (-1 / +3 lines)
Lines 75-81 Link Here
75
          $ref: "../swagger.yaml#/definitions/error"
75
          $ref: "../swagger.yaml#/definitions/error"
76
    x-koha-authorization:
76
    x-koha-authorization:
77
      permissions:
77
      permissions:
78
        acquisition: vendors_manage
78
        acquisition: 
79
          - vendors_manage
80
          - marc_order_manage
79
  post:
81
  post:
80
    x-mojo-to: Acquisitions::Vendors#add
82
    x-mojo-to: Acquisitions::Vendors#add
81
    operationId: addVendor
83
    operationId: addVendor
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (-1 / +1 lines)
Lines 225-231 Link Here
225
                </dl>
225
                </dl>
226
            [% END %]
226
            [% END %]
227
227
228
            [% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) ) %]
228
            [% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) || ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) ) %]
229
                <h3>Acquisition parameters</h3>
229
                <h3>Acquisition parameters</h3>
230
                <dl>
230
                <dl>
231
                    [% IF ( CAN_user_acquisition_currencies_manage ) %]
231
                    [% IF ( CAN_user_acquisition_currencies_manage ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_order_accounts.tt (-2 / +5 lines)
Lines 17-23 MARC Order Accounts Link Here
17
[% WRAPPER 'sub-header.inc' %]
17
[% WRAPPER 'sub-header.inc' %]
18
    [% WRAPPER breadcrumbs %]
18
    [% WRAPPER breadcrumbs %]
19
        [% WRAPPER breadcrumb_item %]
19
        [% WRAPPER breadcrumb_item %]
20
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
20
            [% IF CAN_user_parameters %]
21
                <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
22
            [% ELSE %]
23
                <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
24
            [% END %]
21
        [% END %]
25
        [% END %]
22
26
23
        [% IF acct_form || delete_confirm %]
27
        [% IF acct_form || delete_confirm %]
24
- 

Return to bug 34355