[% ELSE %]
[% END # /UNLESS ( op == 'show' ) %]
[% END # /UNLESS op == 'save' %]
[% END # /IF op == "show" %]
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'calendar.inc' %]
[% IF ( op == 'show' || op == 'else' ) %]
[% END %]
[% IF op == 'else' %]
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'columns_settings.inc' %]
[% END %]
[% IF op == 'save' %]
[% END %]
[% Asset.js("js/acq.js") | $raw %]
[% Asset.js("js/acquisitions-menu.js") | $raw %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]
[% END %]
[% IF op == 'save' %]
[% FOR m IN messages %]
[% SWITCH m.code %]
[% CASE 'biblio_exists' %]
A similar document already exists: [% m.title | html %]. Click on "Confirm your suggestion" to ignore this message.
[% CASE 'manager_not_enough_permissions' %]
The manager you selected does not have sufficient permissions.
[% CASE %]
[% m.code | html %]
[% END %]
[% END %]
[% END # /IF op == 'save' %]
[% IF op == 'else' %]
Suggestions management
[% IF ( displayby != "branchcode" ) %] [% END %] [% FOR m IN messages %]
[% SWITCH m.code %]
[% CASE 'already_exists' %]
The suggestion has not been added. A suggestion with this title already exists (suggestion #[% m.id | html %])
[% CASE 'biblio_exists' %]
A similar document already exists: [% m.title | html %]. Click on "Confirm your suggestion" to ignore this message.
[% CASE %]
[% m.code | html %]
[% END %]
[% END # /FOR m %]
[% UNLESS ( notabs ) %]
[% END # /UNLESS notabs %]
[% FOREACH suggestion IN suggestions %]
[% END # /FOREACH suggestion %]
[% UNLESS ( notabs ) %]
[% END # /UNLESS notabs %]
[% END # /IF op == 'else' %]
[% UNLESS op == 'save' %]
[% UNLESS ( op == 'show' ) %]