@@ -, +, @@ --- acqui/addorderiso2709.pl | 2 +- .../intranet-tmpl/prog/en/css/staff-global.css | 6 ++++++ koha-tmpl/intranet-tmpl/prog/en/js/acq.js | 3 +++ .../prog/en/modules/acqui/addorderiso2709.tt | 21 ++++++++++---------- .../en/modules/admin/preferences/acquisitions.pref | 3 ++- 5 files changed, 23 insertions(+), 12 deletions(-) --- a/acqui/addorderiso2709.pl +++ a/acqui/addorderiso2709.pl @@ -174,7 +174,7 @@ if ($op eq ""){ my $c_quantity = shift( @quantities ) || GetMarcQuantity($marcrecord, C4::Context->preference('marcflavour') ) || 1; my $c_budget_id = shift( @budgets_id ) || $input->param('all_budget_id') || $budget_id; my $c_discount = shift ( @discount); - $c_discount = $c_discount / 100 if $c_discount > 100; + $c_discount = $c_discount / 100 if $c_discount > 1; my $c_sort1 = shift( @sort1 ) || $input->param('all_sort1') || ''; my $c_sort2 = shift( @sort2 ) || $input->param('all_sort2') || ''; --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -554,6 +554,12 @@ padding: 0; width: 100%; } +fieldset.rows.unselected { + background-color: white; + border-width : 0px; + border: 0; +} + fieldset.rows legend { margin-left: 1em; font-weight: bold; --- a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js @@ -215,6 +215,9 @@ function calcNewsuggTotal(){ } function getAuthValueDropbox( name, cat, destination, selected ) { + if ( typeof(selected) == 'undefined' ) { + selected = ""; + } if (cat == null || cat == "") { $(destination).replaceWith(' ' ); return; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -146,8 +146,8 @@
Import all the checked items in the basket with the following accounting details (used only if no information is filled for the item):