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::Booksellers;
49
use Koha::Acquisition::Booksellers;
Lines 593-599 sub import_biblios_list { Link Here
593
                        "item_action_${item_action}" => 1,
594
                        "item_action_${item_action}" => 1,
594
                        item_action => $item_action,
595
                        item_action => $item_action,
595
                        item_error => $item_error,
596
                        item_error => $item_error,
596
                        branchloop => GetBranchesLoop(),
597
                        libraries => scalar Koha::Libraries->search(),
597
                        locationloop => \@locations,
598
                        locationloop => \@locations,
598
                        itypeloop => \@itypes,
599
                        itypeloop => \@itypes,
599
                        ccodeloop => \@ccodes,
600
                        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 321-342 Link Here
321
                        <ol>
322
                        <ol>
322
                        <li>
323
                        <li>
323
                        <label for="homebranch_item_[% item.item_id %]">homebranch</label><select id="homebranch_item_[% item.item_id %]" name="homebranch_[% item.biblio_count %]">
324
                        <label for="homebranch_item_[% item.item_id %]">homebranch</label><select id="homebranch_item_[% item.item_id %]" name="homebranch_[% item.biblio_count %]">
324
                        [% FOREACH branchloo IN branchloop %]
325
                        [% FOREACH l IN libraries %]
325
                          [% IF ( branchloo.value ) == ( item.homebranch )  %]
326
                          [% IF l.branchcode == item.homebranch %]
326
                            <option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
327
                            <option value="[% l.branchcode %]" selected="selected">[% l.branchname %]</option>
327
                          [% ELSE %]
328
                          [% ELSE %]
328
                            <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
329
                            <option value="[% l.branchcode %]">[% l.branchname %]</option>
329
                          [% END %]
330
                          [% END %]
330
                        [% END %]
331
                        [% END %]
331
                        </select>
332
                        </select>
332
                        </li>
333
                        </li>
333
334
334
                        <li><label for="holdingbranch_item_[% item.item_id %]">holdingbranch</label><select id="holdingbranch_item_[% item.item_id %]" name="holdingbranch_[% item.biblio_count %]">
335
                        <li><label for="holdingbranch_item_[% item.item_id %]">holdingbranch</label><select id="holdingbranch_item_[% item.item_id %]" name="holdingbranch_[% item.biblio_count %]">
335
                        [% FOREACH branchloo IN branchloop %]
336
                        [% FOREACH l IN libraries %]
336
                          [% IF ( branchloo.value ) == ( item.holdingbranch ) %]
337
                          [% IF l.branchcode == item.holdingbranch %]
337
                            <option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
338
                            <option value="[% l.branchcode %]" selected="selected">[% l.branchname %]</option>
338
                          [% ELSE %]
339
                          [% ELSE %]
339
                            <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
340
                            <option value="[% l.branchcode %]">[% l.branchname %]</option>
340
                          [% END %]
341
                          [% END %]
341
                        [% END %]
342
                        [% END %]
342
                        </select>
343
                        </select>
343
- 

Return to bug 15503