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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt (-3 / +2 lines)
Lines 1-3 Link Here
1
[% USE Branches %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% IF subscription %]
4
[% IF subscription %]
Lines 64-72 Link Here
64
            <option value="">None</option>
65
            <option value="">None</option>
65
        [% END %]
66
        [% END %]
66
        [% IF CAN_user_serials_superserials %]
67
        [% IF CAN_user_serials_superserials %]
67
            [% FOREACH library IN libraries %]
68
            [% PROCESS options_for_libraries libraries => Branches.all(selected => subscription.branchcode) %]
68
                <option value="[% library.branchcode | html %]"> [% library.branchname | html %] </option>
69
            [% END %]
70
        [% END %]
69
        [% END %]
71
    </select> (select a library)
70
    </select> (select a library)
72
    </li>
71
    </li>
(-)a/serials/subscription-renew.pl (-4 lines)
Lines 129-139 if ( $op eq "renew" ) { Link Here
129
    );
129
    );
130
}
130
}
131
131
132
my $libraries = Koha::Libraries->search( {}, { order_by => ['branchcode'] }, );
133
134
$template->param(
132
$template->param(
135
    op => $op,
133
    op => $op,
136
    libraries      => $libraries,
137
);
134
);
138
135
139
output_html_with_http_headers $query, $cookie, $template->output;
136
output_html_with_http_headers $query, $cookie, $template->output;
140
- 

Return to bug 27332