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

(-)a/acqui/addorderiso2709.pl (-1 / +2 lines)
Lines 43-48 use C4::Suggestions; # GetSuggestion Link Here
43
use C4::Members;
43
use C4::Members;
44
44
45
use Koha::Number::Price;
45
use Koha::Number::Price;
46
use Koha::Libraries;
46
use Koha::Acquisition::Currencies;
47
use Koha::Acquisition::Currencies;
47
use Koha::Acquisition::Order;
48
use Koha::Acquisition::Order;
48
use Koha::Acquisition::Bookseller;
49
use Koha::Acquisition::Bookseller;
Lines 569-575 sub import_biblios_list { Link Here
569
                        "item_action_${item_action}" => 1,
570
                        "item_action_${item_action}" => 1,
570
                        item_action => $item_action,
571
                        item_action => $item_action,
571
                        item_error => $item_error,
572
                        item_error => $item_error,
572
                        branchloop => GetBranchesLoop(),
573
                        libraries => scalar Koha::Libraries->search(),
573
                        locationloop => \@locations,
574
                        locationloop => \@locations,
574
                        itypeloop => \@itypes,
575
                        itypeloop => \@itypes,
575
                        ccodeloop => \@ccodes,
576
                        ccodeloop => \@ccodes,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-9 / +9 lines)
Lines 1-4 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% USE Branches %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Acquisitions &rsaquo; Order staged MARC records
4
<title>Koha &rsaquo; Acquisitions &rsaquo; Order staged MARC records
4
[% IF ( batch_details ) %]
5
[% IF ( batch_details ) %]
Lines 293-314 Link Here
293
                        <ol>
294
                        <ol>
294
                        <li>
295
                        <li>
295
                        <label for="homebranch_item_[% item.item_id %]">homebranch</label><select id="homebranch_item_[% item.item_id %]" name="homebranch_[% item.biblio_count %]">
296
                        <label for="homebranch_item_[% item.item_id %]">homebranch</label><select id="homebranch_item_[% item.item_id %]" name="homebranch_[% item.biblio_count %]">
296
                        [% FOREACH branchloo IN branchloop %]
297
                        [% FOREACH l IN libraries %]
297
                          [% IF ( branchloo.value ) == ( item.homebranch )  %]
298
                          [% IF l.branchcode == item.homebranch %]
298
                            <option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
299
                            <option value="[% l.branchcode %]" selected="selected">[% l.branchname %]</option>
299
                          [% ELSE %]
300
                          [% ELSE %]
300
                            <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
301
                            <option value="[% l.branchcode %]">[% l.branchname %]</option>
301
                          [% END %]
302
                          [% END %]
302
                        [% END %]
303
                        [% END %]
303
                        </select>
304
                        </select>
304
                        </li>
305
                        </li>
305
306
306
                        <li><label for="holdingbranch_item_[% item.item_id %]">holdingbranch</label><select id="holdingbranch_item_[% item.item_id %]" name="holdingbranch_[% item.biblio_count %]">
307
                        <li><label for="holdingbranch_item_[% item.item_id %]">holdingbranch</label><select id="holdingbranch_item_[% item.item_id %]" name="holdingbranch_[% item.biblio_count %]">
307
                        [% FOREACH branchloo IN branchloop %]
308
                        [% FOREACH l IN libraries %]
308
                          [% IF ( branchloo.value ) == ( item.holdingbranch ) %]
309
                          [% IF l.branchcode == item.holdingbranch %]
309
                            <option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
310
                            <option value="[% l.branchcode %]" selected="selected">[% l.branchname %]</option>
310
                          [% ELSE %]
311
                          [% ELSE %]
311
                            <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
312
                            <option value="[% l.branchcode %]">[% l.branchname %]</option>
312
                          [% END %]
313
                          [% END %]
313
                        [% END %]
314
                        [% END %]
314
                        </select>
315
                        </select>
315
- 

Return to bug 15503